From 9207f3ae0a4ce72f909bf0de920cbd73fb6b9356 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 1 Jan 2012 04:24:03 +0000 Subject: updated LDFLAGS for Linux and added support for GNU/Hurd and kFreeBSD svn path=/trunk/externals/miXed/; revision=15860 --- cyclone/Makefile.libdir | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/cyclone/Makefile.libdir b/cyclone/Makefile.libdir index 0d46759..edd7e7a 100644 --- a/cyclone/Makefile.libdir +++ b/cyclone/Makefile.libdir @@ -58,7 +58,31 @@ ifeq ($(UNAME),Linux) PD_PATH = /usr OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer CFLAGS += -fPIC - LDFLAGS += -Wl,--export-dynamic -shared -fPIC + LDFLAGS += -rdynamic -shared -fPIC + LIBS += -lc + STRIP = strip --strip-unneeded -R .note -R .comment +endif +ifeq ($(UNAME),GNU) + # GNU/Hurd, should work like GNU/Linux for basically all externals + CPU := $(shell uname -m) + EXTENSION = pd_linux + OS = linux + PD_PATH = /usr + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer + CFLAGS += -fPIC + LDFLAGS += -rdynamic -shared -fPIC + LIBS += -lc + STRIP = strip --strip-unneeded -R .note -R .comment +endif +ifeq ($(UNAME),GNU/kFreeBSD) + # Debian GNU/kFreeBSD, should work like GNU/Linux for basically all externals + CPU := $(shell uname -m) + EXTENSION = pd_linux + OS = linux + PD_PATH = /usr + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer + CFLAGS += -fPIC + LDFLAGS += -rdynamic -shared -fPIC LIBS += -lc STRIP = strip --strip-unneeded -R .note -R .comment endif -- cgit v1.2.1