Wladimir J. van der Laan
1e9e4b68f3
Merge #20469 : build: Avoid secp256k1.h include from system
...
e95aaefe2540cb76969818fcc2ff77d33448ed5a build: Avoid secp256k1.h include from system (Niklas Gögge)
Pull request description:
While building i ran into an error because i had a version of `secp256k1.h` under `/usr/local/include` that was incompatible with the secp256k1 code in the repository. This caused a problem because `$(BOOST_CPPFLAGS)` contained `-I/usr/local/include` and the include paths are searched by the compiler in order from left to right, so in the end `$(BITCOIN_INCLUDES)` contained `-I/usr/local/include` before `-I$(srcdir)/secp256k1/include` which caused the compiler to find `secp256k1.h` under `/usr/local/include`.
Looking at git blame i am wondering how this has not happened to anyone else in several years: cb89e18845/src/Makefile.am (L25)
I am on macOS 10.15.
ACKs for top commit:
laanwj:
Code review ACK e95aaefe2540cb76969818fcc2ff77d33448ed5a
hebasto:
ACK e95aaefe2540cb76969818fcc2ff77d33448ed5a, tested on macOS 11 Big Sur by adding `#error` into `/usr/local/include/secp256k1.h`.
Tree-SHA512: 1f0b395725936c179ab60dee3582ec7b21e2f9c0f1895e160d84a487cf0db16d0c7aa47d05800e0aded31685b4362056cac9b9ecca1bb8c308a4c5a810e8dc1d
2020-11-25 09:48:47 +01:00
..
2020-10-30 15:52:19 -07:00
2020-05-20 08:27:07 -04:00
2020-10-15 11:28:13 +02:00
2020-09-28 12:27:08 -07:00
2020-08-21 12:48:46 +08:00
2020-09-26 17:57:26 -07:00
2020-04-30 18:02:04 +08:00
2020-10-08 14:11:16 -07:00
2020-11-12 11:43:03 +01:00
2020-10-12 12:14:53 -07:00
2020-11-23 10:30:01 +01:00
2020-11-19 14:19:05 +01:00
2020-10-16 06:26:46 +00:00
2020-10-27 23:08:48 -07:00
2020-08-20 17:55:06 +00:00
2020-11-24 08:36:48 +00:00
2020-11-19 15:48:24 +01:00
2020-11-18 15:15:37 +01:00
2020-11-25 08:02:19 +01:00
2020-10-01 00:33:38 +02:00
2020-07-06 03:52:37 +02:00
2020-10-09 14:29:04 +03:00
2020-10-09 14:29:04 +03:00
2020-08-12 09:22:07 +01:00
2020-11-19 16:30:54 +01:00
2020-10-12 15:35:08 -07:00
2020-07-03 20:43:55 -07:00
2020-08-28 16:50:57 +02:00
2020-08-28 16:50:57 +02:00
2020-11-18 12:00:57 -05:00
2020-10-25 16:51:21 +01:00
2020-11-18 12:00:57 -05:00
2020-09-30 20:43:05 +03:30
2020-11-18 12:00:57 -05:00
2020-10-30 13:53:28 +01:00
2020-11-18 12:00:57 -05:00
2020-09-22 22:32:25 +02:00
2020-05-28 09:55:39 +03:00
2020-05-28 09:55:39 +03:00
2020-07-30 13:57:54 -07:00
2020-05-26 17:27:15 -04:00
2020-06-21 06:41:55 -04:00
2020-10-01 22:22:56 -07:00
2020-08-27 20:07:27 -04:00
2020-11-16 10:40:56 +01:00
2020-09-29 10:20:05 +02:00
2020-09-29 09:59:51 +03:00
2020-09-29 09:59:52 +03:00
2020-10-25 14:25:00 +01:00
2020-04-16 13:33:09 -04:00
2020-11-18 12:00:57 -05:00
2020-11-18 12:00:57 -05:00
2020-07-01 14:44:28 -04:00
2020-07-01 14:44:28 -04:00
2020-08-20 17:55:06 +00:00
2020-04-16 13:33:09 -04:00
2020-11-20 05:36:01 +01:00
2020-09-04 10:25:44 +01:00
2020-04-08 14:45:27 +00:00
2020-07-08 14:26:14 +03:00
2020-11-04 12:16:57 -05:00
2020-05-20 07:30:29 -04:00
2020-06-16 15:15:46 -04:00
2020-10-12 02:06:32 -07:00
2020-10-12 02:06:32 -07:00
2020-05-21 06:53:39 -04:00
2020-05-13 16:20:13 -04:00
2020-06-27 11:49:28 -04:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-11-19 15:33:02 +01:00
2020-08-27 14:33:00 -04:00
2020-08-18 18:03:57 +00:00
2020-06-07 17:03:49 +02:00
2020-05-28 09:54:24 +03:00
2020-11-23 23:33:53 +01:00
2020-10-14 11:18:12 -04:00
2020-05-12 18:03:39 +03:00
2020-10-27 19:40:44 +01:00
2020-10-14 11:18:12 -04:00
2020-10-14 11:18:12 -04:00
2020-04-05 01:01:13 +02:00
2020-11-07 07:50:59 +01:00
2020-11-23 10:30:01 +01:00
2020-04-16 13:33:09 -04:00
2020-07-30 13:57:54 -07:00
2020-03-30 16:09:51 -07:00
2020-06-15 08:08:19 -04:00
2020-09-04 09:46:44 -07:00
2020-10-12 12:14:53 -07:00
2020-10-12 12:14:53 -07:00
2020-11-19 16:30:54 +01:00
2020-10-27 11:14:58 -04:00
2020-11-20 15:11:21 +01:00
2020-11-20 15:11:21 +01:00
2020-11-16 15:54:24 -03:00
2020-11-16 07:57:34 +01:00
2020-10-15 19:21:38 +02:00
2020-05-11 00:20:57 +02:00
2020-06-27 11:49:28 -04:00
2020-05-05 04:45:59 +03:00
2020-07-01 18:03:12 -04:00
2020-07-01 18:02:38 -04:00
2020-04-30 18:02:03 +08:00
2020-10-09 16:42:50 +02:00
2020-10-09 16:42:50 +02:00
2020-06-24 16:32:19 -04:00
2020-06-24 16:32:19 -04:00
2020-10-12 17:17:56 -07:00
2020-10-12 17:17:56 -07:00
2020-08-10 21:30:42 +08:00
2020-04-30 09:19:14 -04:00
2020-11-09 21:21:30 +01:00
2020-09-22 17:08:08 +02:00
2020-06-21 06:02:59 -04:00
2020-06-21 06:02:59 -04:00
2020-10-09 10:32:19 +02:00
2020-09-22 22:31:31 +02:00
2020-09-22 22:31:31 +02:00
2020-07-30 13:57:09 -07:00
2020-10-09 16:42:49 +02:00
2020-08-29 20:46:47 +03:00
2020-09-19 18:02:42 +03:00
2020-08-18 10:46:53 +03:00
2020-10-12 19:50:16 -07:00
2020-10-11 08:51:57 +08:00
2020-10-01 19:00:07 +03:00
2020-07-29 07:53:19 +02:00
2020-07-01 14:44:24 -04:00
2020-09-22 11:34:30 -04:00
2020-09-22 11:34:30 -04:00
2020-10-16 23:33:44 +02:00
2020-10-12 12:14:53 -07:00
2020-10-12 11:01:16 -07:00
2020-10-12 11:01:16 -07:00
2020-04-16 13:33:09 -04:00
2020-11-19 16:39:31 +01:00
2020-11-07 07:50:59 +01:00
2020-09-22 11:34:30 -04:00
2020-09-22 11:34:30 -04:00
2020-09-17 22:17:17 +02:00
2020-10-12 17:18:47 -07:00
2020-07-29 16:36:44 +07:00
2020-11-03 14:01:40 +01:00
2020-11-03 14:01:40 +01:00