Browse Source

also pre-pend -Itests

Steffen Jaeckel 8 years ago
parent
commit
a2f48578e9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      makefile_include.mk

+ 2 - 2
makefile_include.mk

@@ -343,8 +343,8 @@ src/hashes/sha2/sha512_224.o: src/hashes/sha2/sha512.c src/hashes/sha2/sha512_22
 src/hashes/sha2/sha512_256.o: src/hashes/sha2/sha512.c src/hashes/sha2/sha512_256.c
 src/hashes/sha2/sha256.o: src/hashes/sha2/sha256.c src/hashes/sha2/sha224.c
 
-$(DOBJECTS): LTC_CFLAGS += -Itests
-$(TOBJECTS): LTC_CFLAGS += -Itests
+$(DOBJECTS): LTC_CFLAGS := -Itests $(LTC_CFLAGS)
+$(TOBJECTS): LTC_CFLAGS := -Itests $(LTC_CFLAGS)
 
 #This rule makes the libtomcrypt library.
 library: $(LIBNAME)