ports/math/mcsim/patches/patch-sim_Makefile

30 lines
754 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- sim/Makefile.orig Fri Nov 14 16:45:53 1997
+++ sim/Makefile Wed Mar 14 23:21:51 2001
@@ -62,8 +62,8 @@ MOD = mod
#
#>>>> Define the COMPILER name and LINKER name here only.
-CC = gcc
-LINK = gcc
+#CC = gcc
+LINK = $(CC)
#>>>> Define PATHS
# The include path should be a directory containing header
@@ -107,13 +107,13 @@ L_OPTIM_FLAG =
#
#>>>> Include any special warning flags
#
-WARNINGS = -Wall -ansi
+WARNINGS = -ansi
#--------------------
#**** You shouldn't need to change the next 2 lines. They are dependent
#**** only on the above setup.
-CFLAGS = $(C_OPTIM_FLAG) $(C_DEBUG_FLAG) $(DEBUG_SYMBOLS) \
+CFLAGS += $(C_DEBUG_FLAG) $(DEBUG_SYMBOLS) \
-I $(INCPATH) $(WARNINGS)
CLFLAGS = $(L_OPTIM_FLAG) $(L_DEBUG_FLAG)