forked from Lainports/freebsd-ports
27 lines
1,014 B
Text
27 lines
1,014 B
Text
--- Makefile.orig 2010-08-28 03:28:32.000000000 -0400
|
|
+++ Makefile 2010-08-28 03:39:28.000000000 -0400
|
|
@@ -14,12 +14,12 @@
|
|
|
|
# gcc with basic optimization (-march flag could
|
|
# get overridden by architecture-specific builds)
|
|
-CC = gcc -D_FILE_OFFSET_BITS=64
|
|
+#CC = gcc -D_FILE_OFFSET_BITS=64
|
|
WARN_FLAGS = -Wall -W
|
|
-OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -DNDEBUG
|
|
+#OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -DNDEBUG
|
|
#OPT_FLAGS = -O3 -fomit-frame-pointer -march=k8 -DNDEBUG
|
|
|
|
-CFLAGS = $(OPT_FLAGS) $(MACHINE_FLAGS) $(WARN_FLAGS) \
|
|
+CFLAGS += $(OPT_FLAGS) $(MACHINE_FLAGS) $(WARN_FLAGS) \
|
|
-I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1
|
|
|
|
# tweak the compile flags
|
|
@@ -60,7 +60,7 @@
|
|
# win32 or win64, so it's safe to pull libpthread into the link line.
|
|
# Of course this does mean you have to install the minGW pthreads bundle...
|
|
|
|
-LIBS += -lgmp -lm -lpthread
|
|
+LIBS += -lgmp -lm $(PTHREAD_LIBS)
|
|
|
|
#---------------------------------- Generic file lists -------------------
|
|
|