View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0000387 | Buildsystem | [All Projects] General | public | 2013-05-03 18:52 | 2015-03-10 11:59 | ||||||||
Reporter | anthonyjbentley | ||||||||||||
Assigned To | Vincent Sanders | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
Status | acknowledged | Resolution | open | ||||||||||
Summary | 0000387: Can't override CFLAGS at command line | ||||||||||||
Description | On OpenBSD/NetSurf 3.0, overriding CFLAGS at the command line (which should be allowed, as per "The client may also override all toolchain settings, including: ..." in Makefile.top) causes the build to fail. Example: $ cd /usr/ports/pobj/hubbub-0.2.0/libhubbub-0.2.0/ && gmake NSSHARED=/usr/local/share/netsurf-buildsystem CFLAGS="`pkg-config --cflags libparserutils`" COMPILE: src/parser.c In file included from src/parser.c:18: src/treebuilder/treebuilder.h:19:33: error: tokeniser/tokeniser.h: No such file or directory gmake: *** [build-OpenBSD-OpenBSD-release-lib-static/src_parser.o] Error 1 It seems that setting CFLAGS on the command line overrides the assignment on line 25 of hubbub's Makefile: CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) Note that similar things happen with all NetSurf projects, not just hubbub. | ||||||||||||
Additional Information | Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=3612589 on Tue Dec 10 17:34:12 2013 | ||||||||||||
Tags | No tags attached. | ||||||||||||
Fixed in CI build # | |||||||||||||
Reported in CI build # | |||||||||||||
Attached Files |
|
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-12-10 17:41 | Vincent Sanders | New Issue | |
2013-12-10 17:41 | Vincent Sanders | Status | new => assigned |
2013-12-10 17:41 | Vincent Sanders | Assigned To | => Sourceforge Import placeholder |
2013-12-11 16:55 | Vincent Sanders | Project | NetSurf => Buildsystem |
2015-01-30 13:24 | Vincent Sanders | Assigned To | Sourceforge Import placeholder => Vincent Sanders |
2015-01-30 13:24 | Vincent Sanders | Status | assigned => acknowledged |
2015-01-30 13:24 | Vincent Sanders | Description Updated | View Revisions |
2015-01-30 13:24 | Vincent Sanders | Additional Information Updated | View Revisions |
2015-03-10 11:59 | Vincent Sanders | Resolution | no change required => open |