Add missing CPPFLAGS to SM3 and Donna recipes

This commit is contained in:
Jeffrey Walton 2020-12-26 01:00:39 -05:00
parent 9ad6ce2536
commit 02ba36d885
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -1643,11 +1643,11 @@ sm4_simd.o : sm4_simd.cpp
# IBM XLC -O3 optimization bug
ifeq ($(XLC_COMPILER),1)
sm3.o : sm3.cpp
$(CXX) $(strip $(subst -O3,-O2,$(CXXFLAGS)) -c) $<
$(CXX) $(strip $(CPPFLAGS) $(subst -O3,-O2,$(CXXFLAGS)) -c) $<
donna_32.o : donna_32.cpp
$(CXX) $(strip $(subst -O3,-O2,$(CXXFLAGS)) -c) $<
$(CXX) $(strip $(CPPFLAGS) $(subst -O3,-O2,$(CXXFLAGS)) -c) $<
donna_64.o : donna_64.cpp
$(CXX) $(strip $(subst -O3,-O2,$(CXXFLAGS)) -c) $<
$(CXX) $(strip $(CPPFLAGS) $(subst -O3,-O2,$(CXXFLAGS)) -c) $<
endif
# SSE2 on i686