forked from Lainports/freebsd-ports
20 lines
576 B
Text
20 lines
576 B
Text
--- unix/Makefile.orig 2008-05-07 02:33:56.000000000 +0400
|
|
+++ unix/Makefile 2008-08-03 06:36:20.000000000 +0400
|
|
@@ -22,7 +22,6 @@
|
|
LN = ln -s
|
|
|
|
# (to use the GNU compiler, change cc to gcc in CC)
|
|
-CC = cc
|
|
BIND = $(CC)
|
|
AS = $(CC) -c
|
|
CPP = /lib/cpp
|
|
@@ -57,8 +56,7 @@
|
|
# CFLAGS flags for C compile
|
|
# LFLAGS1 flags after output file spec, before obj file list
|
|
# LFLAGS2 flags after obj file list (libraries, etc)
|
|
-CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP)
|
|
-CFLAGS = -O2 $(CFLAGS_NOOPT)
|
|
+CFLAGS_NOOPT = $(CFLAGS) -I. -DUNIX $(LOCAL_ZIP)
|
|
LFLAGS1 =
|
|
LFLAGS2 = -s
|
|
|