1 | --- src/tap/Makefile.orig 2009-09-09 09:31:51.000000000 -0400 |
---|
2 | +++ src/tap/Makefile 2009-09-09 09:32:30.000000000 -0400 |
---|
3 | @@ -21,11 +21,13 @@ |
---|
4 | |
---|
5 | INCLUDE = -I.. -I/System/Library/Frameworks/Kernel.framework/Headers |
---|
6 | CFLAGS = -Wall -mkernel -force_cpusubtype_ALL \ |
---|
7 | - -fno-builtin -fno-stack-protector -arch ppc -arch i386 -arch x86_64 \ |
---|
8 | + -fno-builtin -fno-stack-protector \ |
---|
9 | + __CFLAGS__ \ |
---|
10 | -DKERNEL -D__APPLE__ -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"$(TUNTAP_VERSION)\" \ |
---|
11 | -DTAP_KEXT_VERSION=\"$(TAP_KEXT_VERSION)\" |
---|
12 | CCFLAGS = $(CFLAGS) |
---|
13 | -LDFLAGS = -Wall -mkernel -nostdlib -r -lcc_kext -arch ppc -arch i386 -arch x86_64 |
---|
14 | +LDFLAGS = -Wall -mkernel -nostdlib -r -lcc_kext \ |
---|
15 | + __CFLAGS__ |
---|
16 | |
---|
17 | CCP = g++ |
---|
18 | CC = gcc |
---|