mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@37288 d073be05-634f-4543-b044-5fe20cf6d1d6
27 lines
646 B
Diff
27 lines
646 B
Diff
--- Makefile.orig 2004-12-30 13:23:30.000000000 +1100
|
|
+++ Makefile 2008-06-02 21:22:06.000000000 +1000
|
|
@@ -19,10 +19,10 @@
|
|
# You should leave -static in the CFLAGS so that your sysinfo can be
|
|
# compiled into the executable.
|
|
|
|
-CC = gcc
|
|
+#CC = gcc
|
|
|
|
# generic options for gcc
|
|
-CFLAGS = -s -static -Wall -O3
|
|
+#CFLAGS = -s -static -Wall -O3
|
|
|
|
# if your gcc lets you do it, then try this one
|
|
#CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops
|
|
@@ -74,8 +74,8 @@
|
|
#LINKFLAGS = -s
|
|
|
|
# for a Mac with OsX and the Darwin environment
|
|
-#CC = cc
|
|
-#CFLAGS = -O3 -DOSX
|
|
+CC ?= cc
|
|
+CFLAGS += -O3 -DOSX
|
|
|
|
# For debugging using cc
|
|
#CC = cc
|