]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
ADD: piwi's compiler flags -O2
authoriceman1001 <iceman@iuse.se>
Wed, 18 Mar 2015 19:29:58 +0000 (20:29 +0100)
committericeman1001 <iceman@iuse.se>
Wed, 18 Mar 2015 19:29:58 +0000 (20:29 +0100)
armsrc/Makefile
common/Makefile.common

index 35742316cef056ba2e9967dbf25c4ed980ad2ab7..14ddbc056b2aad5b7d4499eff5004c11bec96ed6 100644 (file)
@@ -10,7 +10,7 @@ APP_INCLUDES = apps.h
 
 #remove one of the following defines and comment out the relevant line
 #in the next section to remove that particular feature from compilation  
-APP_CFLAGS     = -DWITH_LF -DWITH_ISO15693 -DWITH_ISO14443a -DWITH_ISO14443b -DWITH_ICLASS -DWITH_LEGICRF -DWITH_HITAG  -DWITH_CRC -DON_DEVICE -fno-strict-aliasing
+APP_CFLAGS     = -DWITH_LF -DWITH_ISO15693 -DWITH_ISO14443a -DWITH_ISO14443b -DWITH_ICLASS -DWITH_LEGICRF -DWITH_HITAG  -DWITH_CRC -DON_DEVICE -fno-strict-aliasing -O2
 #-DWITH_LCD 
 
 #SRC_LCD = fonts.c LCD.c
index 9e8bfdf0e30530d2554f13bfb1ffe1a5c7bf0114..445ede1f779b3353dc4a8c1559c46b43ef92375d 100644 (file)
@@ -66,7 +66,7 @@ VPATH = . ../common/ ../fpga/
 
 INCLUDES = ../include/proxmark3.h ../include/at91sam7s512.h ../include/config_gpio.h ../include/usb_cmd.h $(APP_INCLUDES)
 
-CFLAGS =  -c $(INCLUDE) -Wall -Werror -pedantic -std=c99 $(APP_CFLAGS) -Os
+CFLAGS =  -c $(INCLUDE) -Wall -Werror -pedantic -std=c99 -Os $(APP_CFLAGS)
 LDFLAGS = -nostartfiles -nodefaultlibs -Wl,-gc-sections -n
 
 LIBS = -lgcc
Impressum, Datenschutz