From a1f2d201d8b08d97cae23d67c7ee2291da9aea88 Mon Sep 17 00:00:00 2001 From: David Glessner Date: Fri, 28 Mar 2014 22:13:18 -0500 Subject: Remove -O3, -fPIC, $(INCLUDES) from AM_CFLAGS. They aren't needed, and can be harmful if they override user selection. --- Examples/Makefile.am | 2 +- src/Makefile.am | 2 +- 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 -- cgit v1.2.1