Browse Source

Add more flags to be passed to makefile fragment

tags/1.2
Timo Röhling 10 years ago
parent
commit
a557a77ef4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      makefile

+ 1
- 1
makefile View File

6
 
6
 
7
 build/Makefile: CMakeLists.txt
7
 build/Makefile: CMakeLists.txt
8
 	mkdir -p build
8
 	mkdir -p build
9
-	cd build && cmake .. -DCMAKE_BUILD_TYPE=Release $(addprefix -DINIT_FLAVOR=,$(INIT_FLAVOR))
9
+	cd build && cmake .. -DCMAKE_BUILD_TYPE=Release $(addprefix -DINIT_FLAVOR=,$(INIT_FLAVOR)) -DCMAKE_C_FLAGS="$(CFLAGS)" $(addprefix -DCMAKE_C_COMPILER=,$(CC))
10
 
10
 

Loading…
Cancel
Save