Sfoglia il codice sorgente

Add more flags to be passed to makefile fragment

tags/1.2
Timo Röhling 10 anni fa
parent
commit
a557a77ef4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      makefile

+ 1
- 1
makefile Vedi File

@@ -6,5 +6,5 @@ clean distclean:
6 6
 
7 7
 build/Makefile: CMakeLists.txt
8 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…
Annulla
Salva