summaryrefslogtreecommitdiff
path: root/sys-process/numactl/files/numactl-2.0.18-numademo-cflags.patch
blob: 629d625915f07a06d8af080e3957685c9d4fd3c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://bugs.gentoo.org/540856

respect user CFLAGS

--- a/Makefile.am
+++ b/Makefile.am
@@ -25,7 +25,7 @@ numastat_CFLAGS = $(AM_CFLAGS) -std=gnu99 -DVERSION=\"$(shell cat ${srcdir}/VERS
 
 numademo_SOURCES = numademo.c stream_lib.c stream_lib.h mt.c mt.h clearcache.c util.c clearcache.h
 numademo_CPPFLAGS = $(AM_CPPFLAGS) -DHAVE_STREAM_LIB -DHAVE_MT -DHAVE_CLEAR_CACHE
-numademo_CFLAGS = $(AM_CFLAGS) -O3 -ffast-math -funroll-loops
+numademo_CFLAGS = $(AM_CFLAGS) -ffast-math -funroll-loops
 if HAVE_TREE_VECTORIZE
 numademo_CFLAGS += -ftree-vectorize
 endif