openbsd-ports/math/mcsim/patches/patch-sim_Makefile

31 lines
762 B
Plaintext
Raw Normal View History

$OpenBSD: patch-sim_Makefile,v 1.1.1.1 2001/01/19 15:24:58 reinhard Exp $
--- sim/Makefile.orig Fri Nov 14 15:45:53 1997
+++ sim/Makefile Sun Jan 14 17:35:02 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
@@ -101,13 +101,13 @@ OBJPATH = o
#>>>> To compile with OPTIMIZATION uncomment the following lines
#
DEBUG_SYMBOLS = -DNDEBUG
-C_OPTIM_FLAG = -O
+C_OPTIM_FLAG = -O2
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