summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-19 14:48:23 +0200
committerVadim Yanitskiy <axilirator@gmail.com>2017-06-19 21:46:43 +0700
commit39273b31c4d3ef9e1a0295e080a08c21513c9155 (patch)
treea3248e9cbd087befc557e690158ac5f65bf9ceef
parent0876ef899e6f2ce3d2cd999cce62da77f282dcd0 (diff)
src/Makefile.am: fix build: use AM_CFLAGS, not CFLAGS
This allows passing 'make CFLAGS+="..."' without breaking the build. Suggested-by: zecke Change-Id: I0628a9c739cded771605f5c55df7f21cb07beb3b
-rw-r--r--src/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 692b699b..d8fcecac 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,17 +26,17 @@ libosmocore_la_SOURCES = timer.c timer_gettimeofday.c select.c signal.c msgb.c b
if HAVE_SSE3
libosmocore_la_SOURCES += conv_acc_sse.c
if HAVE_SSE4_1
-conv_acc_sse.lo : CFLAGS += -msse3 -msse4.1
+conv_acc_sse.lo : AM_CFLAGS += -msse3 -msse4.1
else
-conv_acc_sse.lo : CFLAGS += -msse3
+conv_acc_sse.lo : AM_CFLAGS += -msse3
endif
if HAVE_AVX2
libosmocore_la_SOURCES += conv_acc_sse_avx.c
if HAVE_SSE4_1
-conv_acc_sse_avx.lo : CFLAGS += -msse3 -mavx2 -msse4.1
+conv_acc_sse_avx.lo : AM_CFLAGS += -msse3 -mavx2 -msse4.1
else
-conv_acc_sse_avx.lo : CFLAGS += -msse3 -mavx2
+conv_acc_sse_avx.lo : AM_CFLAGS += -msse3 -mavx2
endif
endif
endif