summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Glessner <dw.g@gmx.com>2014-03-28 22:13:18 -0500
committerDavid Glessner <dw.g@gmx.com>2014-03-31 21:08:55 -0500
commita1f2d201d8b08d97cae23d67c7ee2291da9aea88 (patch)
treeee3f59efe8661a5b81153f2496049f4bedddc5fb
parentfcd867d01bfec7c6c1a2bdc4639f1a6b924e4fff (diff)
downloadjerasure-a1f2d201d8b08d97cae23d67c7ee2291da9aea88.tar.gz
Remove -O3, -fPIC, $(INCLUDES) from AM_CFLAGS.
They aren't needed, and can be harmful if they override user selection.
-rw-r--r--Examples/Makefile.am2
-rw-r--r--src/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/Examples/Makefile.am b/Examples/Makefile.am
index 033f7d5..54ce861 100644
--- a/Examples/Makefile.am
+++ b/Examples/Makefile.am
@@ -1,7 +1,7 @@
# Jerasure AM file
AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
+AM_CFLAGS = $(SIMD_FLAGS)
bin_PROGRAMS = jerasure_01 \
jerasure_02 \
diff --git a/src/Makefile.am b/src/Makefile.am
index 790ad5d..070f545 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
# Jerasure AM file
AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
+AM_CFLAGS = $(SIMD_FLAGS)
lib_LTLIBRARIES = libJerasure.la
libJerasure_la_SOURCES = galois.c jerasure.c reed_sol.c cauchy.c liberation.c