Fossil SCM

no way to add includes that take priority over EXTRA_CFLAGS

Fixed

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)

nobody 11 years, 4 months ago

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

stephan 11 years, 4 months ago

Fixed in [40f1b288cfa130e2bb3eaacf60076f347e25d278].

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button