respect CC/CFLAGS
This commit is contained in:
parent
cc14644e38
commit
a8403a3428
@ -1,6 +1,6 @@
|
||||
--- configure.orig Mon Jun 21 06:53:35 1999
|
||||
+++ configure Tue Nov 30 19:36:14 1999
|
||||
@@ -44,7 +44,7 @@
|
||||
--- configure.orig Mon Jun 21 12:53:35 1999
|
||||
+++ configure Fri Mar 16 20:36:56 2001
|
||||
@@ -44,7 +44,7 @@ case $OSTYPE in
|
||||
;;
|
||||
HP-UX ) OSTYPE=HPUX
|
||||
;;
|
||||
@ -9,13 +9,13 @@
|
||||
;;
|
||||
* ) echo "$OSTYPE not supported. Sorry."
|
||||
exit
|
||||
@@ -118,6 +118,15 @@
|
||||
@@ -118,6 +118,15 @@ case $OSTYPE in
|
||||
OPTIMIZE="-O4"
|
||||
PROFILE="-pg"
|
||||
;;
|
||||
+ OpenBSD ) CC="gcc"
|
||||
+ WFLAGS=$GCCWFLAGS
|
||||
+ INCLUDE="-I/usr/local/include"
|
||||
+ OpenBSD )
|
||||
+ WFLAGS="${CFLAGS}"
|
||||
+ INCLUDE="-I${LOCALBASE}include"
|
||||
+ LDLIBS="-lm"
|
||||
+ DEBUG="-g"
|
||||
+ CHAR="-fsigned-char"
|
||||
@ -25,7 +25,7 @@
|
||||
NetBSD ) CC="gcc"
|
||||
WFLAGS=$GCCWFLAGS
|
||||
INCLUDE="-I/usr/local/include"
|
||||
@@ -241,9 +250,6 @@
|
||||
@@ -241,9 +250,6 @@ do
|
||||
CHECK_FLAG=-fbounds-checking
|
||||
CHECK_LIB=-lcheck
|
||||
echo "Enabled bounds checking option"
|
||||
|
31
mbone/imm/patches/patch-src_Makefile_openbsd
Normal file
31
mbone/imm/patches/patch-src_Makefile_openbsd
Normal file
@ -0,0 +1,31 @@
|
||||
$OpenBSD: patch-src_Makefile_openbsd,v 1.1 2001/03/17 17:16:52 wilfried Exp $
|
||||
--- src/Makefile.openbsd.orig Fri Mar 16 20:40:55 2001
|
||||
+++ src/Makefile.openbsd Fri Mar 16 20:41:37 2001
|
||||
@@ -9,9 +9,8 @@ TKLIBS= -L/usr/X11R6/lib -L$(PREFIX)/lib
|
||||
|
||||
TARGET = ../openbsd
|
||||
|
||||
-CFLAGS = -g -DSIG_T=void -DMULTICAST -I. -DERROR_TEST
|
||||
+CFLAGS += -g -DSIG_T=void -DMULTICAST -I. -DERROR_TEST
|
||||
|
||||
-CC = gcc
|
||||
CC_SWITCHES = ${CFLAGS}
|
||||
|
||||
ROBJS = protocol.o utils.o
|
||||
@@ -57,13 +56,13 @@ main.o: main.c
|
||||
mcl.o: mcl.c
|
||||
|
||||
imm.o: mcl.c
|
||||
- gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c mcl.c -o imm.o
|
||||
+ ${CC} $(CFLAGS) -DIMM $(INCLUDE_DIR) -c mcl.c -o imm.o
|
||||
|
||||
xlopen_imm.o: xlopen.c
|
||||
- gcc $(CFLAGS) -DIMM $(INCLUDE_DIR) -c xlopen.c -o xlopen_imm.o
|
||||
+ ${CC} $(CFLAGS) -DIMM $(INCLUDE_DIR) -c xlopen.c -o xlopen_imm.o
|
||||
|
||||
tkAppInit.o: tkAppInit.c
|
||||
- gcc $(CFLAGS) $(INCLUDE_DIR) tkAppInit.c -c
|
||||
+ ${CC} $(CFLAGS) $(INCLUDE_DIR) tkAppInit.c -c
|
||||
|
||||
protocol.o: protocol.c
|
||||
|
Loading…
Reference in New Issue
Block a user