From b657a13e0479ec4bfcebd95416a8fe2064aa2e98 Mon Sep 17 00:00:00 2001 From: Andrew D Smith Date: Sun, 8 Oct 2023 16:51:52 -0700 Subject: [PATCH] Makefile.am: moving the parts of CXXFLAGS needed for building into AM_CXXFLAGS so users can replace the CXXFLAGS on the command line --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 61c2aee..6fb17db 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,7 +37,8 @@ SUBDIRS := src/smithlab_cpp install installdirs: SUBDIRS := $(filter-out src/smithlab_cpp, $(SUBDIRS)) AM_CPPFLAGS = -I $(top_srcdir)/src/smithlab_cpp -I $(top_srcdir)/src/bamxx -CXXFLAGS = -Wall -O3 $(OPENMP_CXXFLAGS) # default has optimization on +AM_CXXFLAGS = $(OPENMP_CXXFLAGS) +CXXFLAGS = -O3 # default has optimization on noinst_LIBRARIES = libabismal.a