diff options
author | tv <tv> | 1998-11-24 15:14:02 +0000 |
---|---|---|
committer | tv <tv> | 1998-11-24 15:14:02 +0000 |
commit | d6b3a8c607f016313de3d486c00734704325888b (patch) | |
tree | 04146de6ad680efc3757381350722aab2cf20aed /devel | |
parent | 7ff757ab666f5eba7530c2e95ddf76e5462a9ee1 (diff) | |
download | pkgsrc-d6b3a8c607f016313de3d486c00734704325888b.tar.gz |
Make this honor CFLAGS from the pkg's Makefile and/or mk.conf.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libslang/patches/patch-aa | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/libslang/patches/patch-aa b/devel/libslang/patches/patch-aa index 2886ad5278c..67157361dab 100644 --- a/devel/libslang/patches/patch-aa +++ b/devel/libslang/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.5 1998/08/07 10:40:25 agc Exp $ +$NetBSD: patch-aa,v 1.6 1998/11/24 15:14:02 tv Exp $ --- src/Makefile.in.orig Fri Apr 24 02:17:04 1998 -+++ src/Makefile.in Thu Jul 16 13:57:13 1998 ++++ src/Makefile.in Tue Nov 24 10:07:20 1998 @@ -2,9 +2,9 @@ #--------------------------------------------------------------------------- # ANSI C compiler @@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.5 1998/08/07 10:40:25 agc Exp $ -CFLAGS = @CFLAGS@ -LDFLAGS = @LDFLAGS@ +CC = $(LIBTOOL) cc -+CFLAGS = -O2 ++CFLAGS = @CFLAGS@ +LDFLAGS = $(EXECLIBS) #--------------------------------------------------------------------------- # ELF specific (Linux) @@ -29,7 +29,7 @@ $NetBSD: patch-aa,v 1.5 1998/08/07 10:40:25 agc Exp $ CONFIG_H = config.h -ALL_CFLAGS = $(CFLAGS) -Dunix $(THIS_LIB_DEFINES) -+ALL_CFLAGS = -Dunix $(THIS_LIB_DEFINES) ++ALL_CFLAGS = -Dunix $(CFLAGS) $(THIS_LIB_DEFINES) ALL_ELF_CFLAGS = $(ELF_CFLAGS) -Dunix $(THIS_LIB_DEFINES) COMPILE_CMD = $(CC) -c $(ALL_CFLAGS) ELFCOMPILE_CMD = $(ELF_CC) -c $(ALL_ELF_CFLAGS) |