diff options
Diffstat (limited to 'sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch')
-rw-r--r-- | sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch b/sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch deleted file mode 100644 index 31fe300b105f..000000000000 --- a/sci-electronics/ngspice/files/ngspice-26-respect-ldflags.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- ngspice-26/src/xspice/icm/makedefs.in -+++ ngspice-26/src/xspice/icm/makedefs.in -@@ -44,16 +44,19 @@ - LIBS = -lm - - # Flags to use when linking shared library --LDFLAGS = -shared - ifeq ($(ISMINGW), 1) -- LDFLAGS = -shared @LDFLAGS@ --endif --ifeq "$(strip $(uname))" "Darwin" -- LDFLAGS = -bundle -flat_namespace -undefined suppress --endif --ifeq "$(strip $(uname))" "SunOS" -- ifneq "$(CC)" "gcc" -- LDFLAGS = -G -+ LDFLAGS += -shared @LDFLAGS@ -+else -+ ifeq "$(strip $(uname))" "Darwin" -+ LDFLAGS += -bundle -flat_namespace -undefined suppress -+ else -+ ifeq "$(strip $(uname))" "SunOS" -+ ifneq "$(CC)" "gcc" -+ LDFLAGS += -G -+ else -+ LDFLAGS += -shared -+ endif -+ endif - endif - endif - |