Fossil SCM
no way to add includes that take priority over EXTRA_CFLAGS
1d6a4c423bc8b11…
· opened 11 years, 4 months ago
- Type
- Build_Problem
- Priority
- —
- Severity
- Minor
- Resolution
- Fixed
- Subsystem
- —
- Created
- Nov. 23, 2014 7:42 a.m.
auto.def adds $tclconfig(TCL_INCLUDE_SPEC) to EXTRA_CFLAGS, and in this case that include directory happened to contain a config.h file, causing the fossil build to fail. directories in the fossil distribution that contain header files should always be included before any EXTRA_CFLAGS that may get set to cope with the platform.
In this case, the workaround was:
CC = "$CC -I. -I./src
Comments (2)
auto.def adds $tclconfig(TCL_INCLUDE_SPEC) to EXTRA_CFLAGS, and in this case that include directory happened to contain a config.h file, causing the fossil build to fail. directories in the fossil distribution that contain header files should always be included before any EXTRA_CFLAGS that may get set to cope with the platform.
In this case, the workaround was:
CC = "$CC -I. -I./src
Fixed in [40f1b288cfa130e2bb3eaacf60076f347e25d278].