mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
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:
parent
0743f70747
commit
484f8d9cd4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87711
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
||||||
@@ -137,11 +137,13 @@
|
@@ -137,11 +137,13 @@
|
||||||
$mycflags .= " -DASMINLINE";
|
$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};
|
+$mycflags .= " $ENV{CFLAGS} " if $ENV{CFLAGS};
|
||||||
|
|
||||||
@obj_files = map { "$_\$(OBJ_EXT)" } keys(%cfiles), qw(kernel mp mpinl);
|
@obj_files = map { "$_\$(OBJ_EXT)" } keys(%cfiles), qw(kernel mp mpinl);
|
||||||
|
|
Loading…
Add table
Reference in a new issue