mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Respect CC and CFLAGS
This commit is contained in:
parent
dbddd321ba
commit
9daf266e5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24855
@ -1,14 +1,23 @@
|
||||
--- Makefile.orig Sun Oct 31 09:07:29 1999
|
||||
+++ Makefile Fri Dec 24 16:37:46 1999
|
||||
@@ -5,6 +5,8 @@
|
||||
--- Makefile.orig Sun Oct 31 07:07:29 1999
|
||||
+++ Makefile Thu Jan 20 09:14:40 2000
|
||||
@@ -5,13 +5,15 @@
|
||||
# Thanks to rbulling@obscure.org for cleaning this Makefile up..
|
||||
#
|
||||
|
||||
+SYSTYPE=freebsd
|
||||
+
|
||||
# Generic compiler
|
||||
CC = cc
|
||||
- CC = cc
|
||||
+ CC ?= cc
|
||||
# GNU..
|
||||
# CC = gcc
|
||||
|
||||
# Normal systems flags
|
||||
-CFLAGS = -O
|
||||
+CFLAGS ?= -O
|
||||
# Braindead HPUX compiler flags
|
||||
#CFLAGS = -O -Aa
|
||||
|
||||
@@ -35,19 +37,7 @@
|
||||
# Debug mode for logtail
|
||||
# CFLAGS = -g -DDEBUG
|
||||
|
10
sysutils/detach/files/patch-aa
Normal file
10
sysutils/detach/files/patch-aa
Normal file
@ -0,0 +1,10 @@
|
||||
--- Makefile.orig Fri Oct 8 08:22:20 1999
|
||||
+++ Makefile Thu Jan 20 09:12:48 2000
|
||||
@@ -1,5 +1,5 @@
|
||||
-CC = gcc
|
||||
-CFLAGS =
|
||||
+CC ?= gcc
|
||||
+CFLAGS ?= -O2
|
||||
LIBS =
|
||||
INSTALL = install
|
||||
INSTALLPREFIX = /usr/local
|
Loading…
Reference in New Issue
Block a user