From 4ccc9cbdaf8acb4afba2bc935f53948eb3d1da66 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 10 Mar 2017 15:07:52 +0100 Subject: [PATCH] hardware_caps/Makefile: use @HWLIB_CFLAGS@ instead of defines Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/24b159f84c5b15af727d00f79f27e5b18d47acaa Author: vanhofen Date: 2017-03-10 (Fri, 10 Mar 2017) Origin message was: ------------------ - hardware_caps/Makefile: use @HWLIB_CFLAGS@ instead of defines --- lib/hardware/coolstream/Makefile.am | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/hardware/coolstream/Makefile.am b/lib/hardware/coolstream/Makefile.am index d460837c3..b2a96b31e 100644 --- a/lib/hardware/coolstream/Makefile.am +++ b/lib/hardware/coolstream/Makefile.am @@ -1,12 +1,9 @@ -noinst_LIBRARIES = libhwcaps.a - AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing -if BOXMODEL_CS_HD2 -AM_CPPFLAGS = -I$(top_srcdir)/lib/hardware/coolstream/hd2/libcoolstream -else -AM_CPPFLAGS = -I$(top_srcdir)/lib/hardware/coolstream/hd1/libcoolstream -endif +AM_CPPFLAGS = \ + @HWLIB_CFLAGS@ + +noinst_LIBRARIES = libhwcaps.a libhwcaps_a_SOURCES = \ hardware_caps.cpp