1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- honor CC,CFLAGS

This commit is contained in:
Dirk Meyer 2011-06-24 18:18:43 +00:00
parent eb25071eab
commit 7344076488
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276212

View File

@ -0,0 +1,17 @@
--- Makefile.orig 2002-08-16 07:20:00.000000000 +0200
+++ Makefile 2011-06-24 20:13:58.000000000 +0200
@@ -1,10 +1,10 @@
# Compiler/Linker
-CC = gcc
-LD = gcc
+CC ?= gcc
+LD = ${CC}
# compiler/linker flags
-CFLAGS = -g -Wall -D_GNU_SOURCE
-LDFLAGS = -g
+CFLAGS += -g -Wall -D_GNU_SOURCE
+LDFLAGS += -g
# files removal
RM = /bin/rm -f