16 lines
549 B
Plaintext
16 lines
549 B
Plaintext
$NetBSD: patch-ag,v 1.8 2014/08/13 10:56:36 adam Exp $
|
|
|
|
Pass CFLAGS to the compiler.
|
|
|
|
--- tools/build/src/engine/build.jam.orig 2011-02-24 08:50:34.000000000 +0000
|
|
+++ tools/build/src/engine/build.jam
|
|
@@ -192,7 +192,7 @@ toolset como como : "-o " : -D
|
|
: -L$(--python-lib[1]) -l$(--python-lib[2]) ;
|
|
## Clang Linux 2.8+
|
|
toolset clang clang : "-o " : -D
|
|
- : -Wno-unused -Wno-format
|
|
+ : $(CFLAGS) -Wno-unused -Wno-format
|
|
[ opt --release : -Os ]
|
|
[ opt --debug : -g -O0 -fno-inline ]
|
|
[ opt --profile : -finline-functions -g ]
|