Add note about optimiser in 1986/marshall
This commit is contained in:
1 parent
850abc4f37
commit
948ea60ff6
2 files changed
+10
-2
No files matched your search
@@ -69,7 +69,9 @@ CINCLUDE=
|
||||
|
||||
# Optimization
|
||||
#
|
||||
OPT=
|
||||
# We DISABLE the optimiser due to funny problems in different compilers and
|
||||
# systems. See compilers.md for more details on this problem.
|
||||
OPT= -O0
|
||||
|
||||
# Default flags for ANSI C compilation
|
||||
#
|
||||
@@ -132,8 +134,10 @@ all: data ${TARGET}
|
||||
clean clobber install love haste waste maker easter_egg \
|
||||
sandwich supernova deep_magic magic charon pluto
|
||||
|
||||
# We FORCE disable the optimiser due to funny problems in different compilers
|
||||
# and systems. See compilers.md for details.
|
||||
${PROG}: ${PROG}.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
${CC} ${CFLAGS} -O0 $< -o $@ ${LDFLAGS}
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user