Commit a1f2d201d8b08d97cae23d67c7ee2291da9aea88

Authored by David Glessner
1 parent fcd867d0
Exists in master

Remove -O3, -fPIC, $(INCLUDES) from AM_CFLAGS.

They aren't needed, and can be harmful if they override user selection.
Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
Examples/Makefile.am
1 1 # Jerasure AM file
2 2  
3 3 AM_CPPFLAGS = -I$(top_srcdir)/include
4   -AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
  4 +AM_CFLAGS = $(SIMD_FLAGS)
5 5  
6 6 bin_PROGRAMS = jerasure_01 \
7 7 jerasure_02 \
... ...
src/Makefile.am
1 1 # Jerasure AM file
2 2  
3 3 AM_CPPFLAGS = -I$(top_srcdir)/include
4   -AM_CFLAGS = -O3 $(SIMD_FLAGS) -fPIC $(INCLUDES)
  4 +AM_CFLAGS = $(SIMD_FLAGS)
5 5  
6 6 lib_LTLIBRARIES = libJerasure.la
7 7 libJerasure_la_SOURCES = galois.c jerasure.c reed_sol.c cauchy.c liberation.c
... ...