]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[pzstd] Move -I flags to PZSTD_CPPFLAGS 434/head
authorNick Terrell <terrelln@fb.com>
Fri, 28 Oct 2016 21:24:15 +0000 (14:24 -0700)
committerNick Terrell <terrelln@fb.com>
Fri, 28 Oct 2016 21:24:15 +0000 (14:24 -0700)
contrib/pzstd/Makefile

index 4f63887d324560f3689c59ed885063e06c8c8933..2de50416c4fa27e406524595b48334af9524852d 100644 (file)
@@ -24,16 +24,18 @@ TESTFLAGS ?=
 DEPFLAGS = -MMD -MP -MF $*.Td
 POSTCOMPILE = mv -f $*.Td $*.d
 
-# CFLAGS, CXXFLAGS, and LDFLAGS are for the users to override
+# CFLAGS, CXXFLAGS, CPPFLAGS, and LDFLAGS are for the users to override
 CFLAGS   ?= -O3 -Wall -Wextra
 CXXFLAGS ?= -O3 -Wall -Wextra -pedantic -std=c++11
+CPPFLAGS ?=
 LDFLAGS  ?=
 
-# Googletest default flags
+# Include flags
 PZSTD_INC  = -I$(ZSTDDIR) -I$(ZSTDDIR)/common -I$(PROGDIR) -I.
 GTEST_INC  = -isystem googletest/googletest/include
 
-PZSTD_CCXXFLAGS = $(PZSTD_INC) $(GTEST_INC)
+PZSTD_CPPFLAGS  = $(PZSTD_INC) $(GTEST_INC)
+PZSTD_CCXXFLAGS =
 PZSTD_CFLAGS    = $(PZSTD_CCXXFLAGS)
 PZSTD_CXXFLAGS  = $(PZSTD_CCXXFLAGS)
 PZSTD_LDFLAGS   =