ports/emulators/simh/files/patch-makefile
Edward Tomasz Napierala 8db298eb23 - Update to 3.8-0.
2008-07-22 22:01:28 +00:00

15 lines
525 B
Text

--- makefile.orig 2008-06-06 15:00:46.000000000 +0200
+++ makefile 2008-07-22 23:16:54.000000000 +0200
@@ -9,10 +9,10 @@
ifneq (,$(findstring darwin,$(OSTYPE)))
OS_CCDEFS = -D_GNU_SOURCE
else
- OS_CCDEFS = -lrt -lm -D_GNU_SOURCE
+ OS_CCDEFS = -lm -D_GNU_SOURCE
endif
endif
- CC = gcc -std=c99 -U__STRICT_ANSI__ -g $(OS_CCDEFS) -I .
+ CC += ${CFLAGS} $(OS_CCDEFS) -I .
ifeq ($(USE_NETWORK),)
else
NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include /usr/local/lib/libpcap.a