Unbreak in the case you did not have -O in your CFLAGS

PR:		55870
Submitted by:	Kevin Oberman <oberman@es.net>
Approved by:	demon (mentor)
This commit is contained in:
Mathieu Arnold 2003-08-26 05:30:07 +00:00
parent 0743f70747
commit 484f8d9cd4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87711

View file

@ -3,7 +3,8 @@
@@ -137,11 +137,13 @@
$mycflags .= " -DASMINLINE";
}
$mycflags .= ' -DGCC_INLINE' if $Config{gccversion};
-$mycflags .= ' -DGCC_INLINE' if $Config{gccversion};
+$mycflags .= ' -O -DGCC_INLINE' if $Config{gccversion};
+$mycflags .= " $ENV{CFLAGS} " if $ENV{CFLAGS};
@obj_files = map { "$_\$(OBJ_EXT)" } keys(%cfiles), qw(kernel mp mpinl);