Change bogus optimization option -O6 to a more sane -O3 to unbreak the build
against Clang. Reported by: pkg-fallout
This commit is contained in:
parent
f82cc25ff8
commit
7024f1a4c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326489
1 changed files with 2 additions and 2 deletions
|
@ -61,9 +61,9 @@
|
|||
-GL_CFLAGS = -I$(MESADIR)/include -I/usr/X11R6/include
|
||||
+ifdef OPTIMIZED_CFLAGS
|
||||
+ ifeq ($(ARCH),i386)
|
||||
+RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -fomit-frame-pointer -pipe -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce
|
||||
+RELEASE_CFLAGS=$(BASE_CFLAGS) -O3 -fomit-frame-pointer -pipe -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce
|
||||
+ else
|
||||
+RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
|
||||
+RELEASE_CFLAGS=$(BASE_CFLAGS) -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
|
||||
+ endif
|
||||
+endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue