From: David Glessner Date: Sat, 29 Mar 2014 03:13:18 +0000 (-0500) Subject: Remove -O3, -fPIC, $(INCLUDES) from AM_CFLAGS. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a1f2d201d8b08d97cae23d67c7ee2291da9aea88;p=jerasure.git Remove -O3, -fPIC, $(INCLUDES) from AM_CFLAGS. They aren't needed, and can be harmful if they override user selection. --- 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