parent
a8adc6c3f8
commit
a10c4fd0e2
@ -1,59 +0,0 @@
|
|||||||
--- makefile.include.old 2017-03-27 10:38:30.918322484 +0200
|
|
||||||
+++ makefile.include 2017-03-27 10:43:24.076216593 +0200
|
|
||||||
@@ -21,55 +21,8 @@
|
|
||||||
MAKE:=make
|
|
||||||
endif
|
|
||||||
|
|
||||||
-
|
|
||||||
# Compilation flags. Note the += does not write over the user's CFLAGS!
|
|
||||||
-CFLAGS += -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -Wshadow -DLTC_SOURCE
|
|
||||||
-
|
|
||||||
-ifdef OLD_GCC
|
|
||||||
-CFLAGS += -W
|
|
||||||
-# older GCCs can't handle the "rotate with immediate" ROLc/RORc/etc macros
|
|
||||||
-# define this to help
|
|
||||||
-CFLAGS += -DLTC_NO_ROLC
|
|
||||||
-else
|
|
||||||
-CFLAGS += -Wextra
|
|
||||||
-# additional warnings
|
|
||||||
-CFLAGS += -Wsystem-headers -Wbad-function-cast -Wcast-align
|
|
||||||
-CFLAGS += -Wstrict-prototypes -Wpointer-arith
|
|
||||||
-CFLAGS += -Wdeclaration-after-statement
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
-CFLAGS += -Wno-type-limits
|
|
||||||
-
|
|
||||||
-ifdef LTC_DEBUG
|
|
||||||
-# compile for DEBUGGING (required for ccmalloc checking!!!)
|
|
||||||
-ifneq (,$(strip $(LTC_DEBUG)))
|
|
||||||
-CFLAGS += -g3 -DLTC_NO_ASM -DLTC_TEST_DBG=$(LTC_DEBUG)
|
|
||||||
-else
|
|
||||||
-CFLAGS += -g3 -DLTC_NO_ASM -DLTC_TEST_DBG
|
|
||||||
-endif
|
|
||||||
-else
|
|
||||||
-
|
|
||||||
-ifdef LTC_SMALL
|
|
||||||
-# optimize for SIZE
|
|
||||||
-CFLAGS += -Os -DLTC_SMALL_CODE
|
|
||||||
-else
|
|
||||||
-
|
|
||||||
-ifndef IGNORE_SPEED
|
|
||||||
-# optimize for SPEED
|
|
||||||
-CFLAGS += -O3 -funroll-loops
|
|
||||||
-
|
|
||||||
-# add -fomit-frame-pointer. hinders debugging!
|
|
||||||
-CFLAGS += -fomit-frame-pointer
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
-endif # COMPILE_SMALL
|
|
||||||
-endif # COMPILE_DEBUG
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-ifneq ($(findstring clang,$(CC)),)
|
|
||||||
-CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
+CFLAGS += -I./testprof/ -I./src/headers/ -DLTC_SOURCE
|
|
||||||
|
|
||||||
HASH=hashsum
|
|
||||||
CRYPT=encrypt
|
|
Loading…
Reference in new issue