aboutsummaryrefslogtreecommitdiff
path: root/emulators/sim/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/sim/files/patch-makefile')
-rw-r--r--emulators/sim/files/patch-makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/emulators/sim/files/patch-makefile b/emulators/sim/files/patch-makefile
index faa54a9b6722..6d771593e784 100644
--- a/emulators/sim/files/patch-makefile
+++ b/emulators/sim/files/patch-makefile
@@ -1,11 +1,11 @@
---- makefile.orig Wed Jun 23 18:01:06 2004
-+++ makefile Wed Jun 23 18:01:50 2004
+--- makefile.orig Mon Aug 22 18:36:56 2005
++++ makefile Mon Aug 22 18:37:56 2005
@@ -10,7 +10,7 @@
else
OS_CCDEFS = -D_GNU_SOURCE
endif
--CC = gcc -std=c99 -O2 -g -lm $(OS_CCDEFS) -I .
+-CC = gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm $(OS_CCDEFS) -I .
+CC += ${CFLAGS} -lm $(OS_CCDEFS) -I .
ifeq ($(USE_NETWORK),)
else
- NETWORK_OPT = -DUSE_NETWORK -lpcap -isystem /usr/local/include -L /usr/local/lib
+ NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include /usr/local/lib/libpcap.a