Respect CC
PR: 15177 Submitted by: James Andariese <james@ja.ath.cx>
This commit is contained in:
parent
4702e87a9c
commit
b8befb620c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23593
@ -1,6 +1,6 @@
|
|||||||
--- Makefile.orig Sat Jul 20 03:35:46 1996
|
--- Makefile.old Mon Nov 29 18:32:05 1999
|
||||||
+++ Makefile Tue Jan 5 16:34:35 1999
|
+++ Makefile Mon Nov 29 18:35:26 1999
|
||||||
@@ -30,31 +30,30 @@
|
@@ -30,31 +30,32 @@
|
||||||
# uncomment the following two lines if you want to include X11 support
|
# uncomment the following two lines if you want to include X11 support
|
||||||
# (mpeg2decode)
|
# (mpeg2decode)
|
||||||
|
|
||||||
@ -32,9 +32,10 @@
|
|||||||
#
|
#
|
||||||
# GNU gcc
|
# GNU gcc
|
||||||
#
|
#
|
||||||
-CC = gcc
|
+.ifndef CC
|
||||||
|
CC = gcc
|
||||||
-CFLAGS = -O2
|
-CFLAGS = -O2
|
||||||
+CC = cc
|
+.endif
|
||||||
|
|
||||||
all: mpeg2decode mpeg2encode
|
all: mpeg2decode mpeg2encode
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- Makefile.orig Sat Jul 20 03:35:46 1996
|
--- Makefile.old Mon Nov 29 18:32:05 1999
|
||||||
+++ Makefile Tue Jan 5 16:34:35 1999
|
+++ Makefile Mon Nov 29 18:35:26 1999
|
||||||
@@ -30,31 +30,30 @@
|
@@ -30,31 +30,32 @@
|
||||||
# uncomment the following two lines if you want to include X11 support
|
# uncomment the following two lines if you want to include X11 support
|
||||||
# (mpeg2decode)
|
# (mpeg2decode)
|
||||||
|
|
||||||
@ -32,9 +32,10 @@
|
|||||||
#
|
#
|
||||||
# GNU gcc
|
# GNU gcc
|
||||||
#
|
#
|
||||||
-CC = gcc
|
+.ifndef CC
|
||||||
|
CC = gcc
|
||||||
-CFLAGS = -O2
|
-CFLAGS = -O2
|
||||||
+CC = cc
|
+.endif
|
||||||
|
|
||||||
all: mpeg2decode mpeg2encode
|
all: mpeg2decode mpeg2encode
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user