]> git.saurik.com Git - apt.git/commitdiff
use CPPFLAGS instead of CXXFLAGS for stringview export
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 28 Jan 2016 23:49:07 +0000 (00:49 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Sun, 31 Jan 2016 18:06:19 +0000 (19:06 +0100)
Git-Dch: Ignore

apt-pkg/makefile

index e3e6e202e117de57d8b4c8fb33041e68db463c01..789d3f2fd3bc0c7967906d9f3e0819864df10834 100644 (file)
@@ -12,7 +12,7 @@ include ../buildlib/defaults.mak
 # The library name and version (indirectly used from init.h)
 include ../buildlib/libversion.mak
 
-CXXFLAGS+=-DAPT_PKG_EXPOSE_STRING_VIEW
+CPPFLAGS+=-DAPT_PKG_EXPOSE_STRING_VIEW
 LIBRARY=apt-pkg
 MAJOR=$(LIBAPTPKG_MAJOR)
 MINOR=$(LIBAPTPKG_RELEASE)