Remove profile options to fix build with Clang

PR:		220806
Submitted by:	jbeich, Martin Birgmeier
This commit is contained in:
Johan van Selst 2018-02-09 16:09:42 +00:00
parent e64232e958
commit 2020526ca5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461318
2 changed files with 12 additions and 8 deletions

View file

@ -1,15 +1,19 @@
--- Makefile.orig 2016-10-03 22:11:34.000000000 +0200
+++ Makefile 2017-07-15 23:47:33.427574000 +0200
@@ -83,9 +83,9 @@ quick:
--- Makefile.orig 2016-10-03 20:11:34 UTC
+++ Makefile
@@ -83,11 +83,11 @@ quick:
unix-gcc:
$(MAKE) -j target=UNIX \
- CC=gcc \
- opt='-DSYZYGY -DTEST -DCPUS=4' \
- CFLAGS='-Wall -Wno-array-bounds -pipe -O3 -fprofile-use \
- -mpopcnt -fprofile-correction -pthread' \
- LDFLAGS='$(LDFLAGS) -fprofile-use -pthread -lstdc++' \
+ CC=$(CC) \
+ opt='$(opt) -DSYZYGY -DTEST -DCPUS=4' \
+ CFLAGS='$(CFLAGS) -Wall -Wno-array-bounds -pipe -O3 -fprofile-use \
-mpopcnt -fprofile-correction -pthread' \
LDFLAGS='$(LDFLAGS) -fprofile-use -pthread -lstdc++' \
+ CFLAGS='$(CFLAGS) -Wall -Wno-array-bounds -pipe -O3 \
+ -mpopcnt -pthread' \
+ LDFLAGS='$(LDFLAGS) -pthread -lstdc++' \
crafty-make
unix-gcc-profile:

View file

@ -1,5 +1,5 @@
--- option.c.orig 2016-10-28 05:11:42.000000000 +0200
+++ option.c 2017-07-15 23:35:58.863941000 +0200
--- option.c.orig 2016-10-28 03:11:42 UTC
+++ option.c
@@ -978,9 +978,11 @@ int Option(TREE * RESTRICT tree) {
else if (OptionMatch("help", *args)) {
FILE *helpfile;