From 40dc8405c0e8c95d01a61eef1244fbfe79e73456 Mon Sep 17 00:00:00 2001 From: Konstantin Tumalevich Date: Wed, 7 Sep 2011 14:14:12 +0400 Subject: [PATCH] Fix to compiling under Lion --- tuntap/src/tap/Makefile | 4 ++-- tuntap/src/tun/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tuntap/src/tap/Makefile b/tuntap/src/tap/Makefile index 8a302bb..50c30e7 100644 --- a/tuntap/src/tap/Makefile +++ b/tuntap/src/tap/Makefile @@ -21,11 +21,11 @@ BUNDLE_VERSION = $(TAP_KEXT_VERSION) INCLUDE = -I.. -I/System/Library/Frameworks/Kernel.framework/Headers CFLAGS = -Wall -mkernel -force_cpusubtype_ALL \ - -fno-builtin -fno-stack-protector -arch ppc -arch i386 -arch x86_64 \ + -fno-builtin -fno-stack-protector -arch i386 -arch x86_64 \ -DKERNEL -D__APPLE__ -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"$(TUNTAP_VERSION)\" \ -DTAP_KEXT_VERSION=\"$(TAP_KEXT_VERSION)\" CCFLAGS = $(CFLAGS) -LDFLAGS = -Wall -mkernel -nostdlib -r -lcc_kext -arch ppc -arch i386 -arch x86_64 -Xlinker -kext +LDFLAGS = -Wall -mkernel -nostdlib -r -lcc_kext -arch i386 -arch x86_64 -Xlinker -kext CCP = g++ CC = gcc diff --git a/tuntap/src/tun/Makefile b/tuntap/src/tun/Makefile index a8633c3..6423ea2 100644 --- a/tuntap/src/tun/Makefile +++ b/tuntap/src/tun/Makefile @@ -22,11 +22,11 @@ BUNDLE_VERSION = $(TUN_KEXT_VERSION) INCLUDE = -I.. -I/System/Library/Frameworks/Kernel.framework/Headers CFLAGS = -Wall -mkernel -force_cpusubtype_ALL \ - -fno-builtin -fno-stack-protector -arch ppc -arch i386 -arch x86_64 \ + -fno-builtin -fno-stack-protector -arch i386 -arch x86_64 \ -DKERNEL -D__APPLE__ -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"$(TUNTAP_VERSION)\" \ -DTUN_KEXT_VERSION=\"$(TUN_KEXT_VERSION)\" CCFLAGS = $(CFLAGS) -LDFLAGS = -Wall -mkernel -nostdlib -r -lcc_kext -arch ppc -arch i386 -arch x86_64 -Xlinker -kext +LDFLAGS = -Wall -mkernel -nostdlib -r -lcc_kext -arch i386 -arch x86_64 -Xlinker -kext CCP = g++ CC = gcc