forked from pool/fillup
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
|
--- fillup-1.42/SRC/Makefile
|
||
|
+++ fillup-1.42/SRC/Makefile
|
||
|
@@ -46,24 +46,23 @@
|
||
|
COMPILER = -DGCC=1
|
||
|
|
||
|
# Set OPTIS to the following values
|
||
|
-OPTIS = $(OPTISPLUS) -O2 -fforce-addr -finline-functions -fno-function-cse \
|
||
|
- -fkeep-inline-functions
|
||
|
+OPTIS = $(OPTISPLUS) -O2
|
||
|
|
||
|
ifeq ($(COMPILE_OPTION),DEBUG)
|
||
|
# compile for debugging
|
||
|
- COMPILE = gcc -fsigned-char -DDEBUG -ansi -g -c ${WARNINGS} -I${SRC} -I${INC} ${COMPILER} ${SYS} ${DEFINES}
|
||
|
+ COMPILE = gcc -DDEBUG -ansi -g -c $(OPTIS) ${WARNINGS} -I${SRC} -I${INC} ${COMPILER} ${SYS} ${DEFINES}
|
||
|
LINK = gcc -g
|
||
|
endif
|
||
|
|
||
|
ifeq ($(COMPILE_OPTION),OPTIMIZE)
|
||
|
# compile with all optimizations
|
||
|
- COMPILE = gcc -fsigned-char -ansi -c $(OPTIS) $(WARNINGS) -I${SRC} -I${INC} ${COMPILER} ${SYS} ${DEFINES}
|
||
|
- LINK = gcc -O -s
|
||
|
+ COMPILE = gcc -ansi -c $(OPTIS) $(WARNINGS) -I${SRC} -I${INC} ${COMPILER} ${SYS} ${DEFINES}
|
||
|
+ LINK = gcc
|
||
|
endif
|
||
|
|
||
|
ifeq ($(COMPILE_OPTION),PROFILE)
|
||
|
# compile for use with "gprof"
|
||
|
- COMPILE = gcc -fsigned-char -ansi -pg -c ${WARNINGS} -I${SRC} -I${INC} ${COMPILER} ${SYS} ${DEFINES}
|
||
|
+ COMPILE = gcc -ansi -pg -c ${WARNINGS} -I${SRC} -I${INC} ${COMPILER} ${SYS} ${DEFINES}
|
||
|
LINK = gcc -pg
|
||
|
endif
|
||
|
|