Respect CC and CFLAGS
This commit is contained in:
parent
b29a09511f
commit
b4da18b111
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26490
26
net/ppptraf/files/patch-aa
Normal file
26
net/ppptraf/files/patch-aa
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
--- Makefile.orig Wed Feb 9 07:18:28 2000
|
||||||
|
+++ Makefile Thu Mar 2 00:35:42 2000
|
||||||
|
@@ -2,11 +2,12 @@
|
||||||
|
## Customizable Shit #######################################
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
-CC = gcc
|
||||||
|
+CC ?= gcc
|
||||||
|
OUTNAME = ppptraf
|
||||||
|
|
||||||
|
#XCFLAGS = -DDEBUG
|
||||||
|
-XCFLAGS = -O3 -pedantic -fomit-frame-pointer
|
||||||
|
+CFLAGS ?= -O3 -fomit-frame-pointer
|
||||||
|
+CFLAGS += -pedantic
|
||||||
|
#XCFLAGS = -g
|
||||||
|
#XLIBS = -ldl ? -lpthread ?
|
||||||
|
|
||||||
|
@@ -21,7 +22,7 @@
|
||||||
|
#LIBS = -lpthread -lncurses
|
||||||
|
|
||||||
|
# FreeBSD
|
||||||
|
-CFLAGS =
|
||||||
|
+#CFLAGS =
|
||||||
|
LIBS = -pthread -lncurses
|
||||||
|
|
||||||
|
# Solaris
|
Loading…
Reference in New Issue
Block a user