Use CPPFLAGS during build
Balint Reczey
7 years ago
6 | 6 | |
7 | 7 | override_dh_auto_build: |
8 | 8 | $(CXX) -shared -fPIC -Wall -std=c++11 -Wl,-soname,libcrossguid.so.0 -DGUID_LIBUUID \ |
9 | -I/usr/include/uuid guid.cpp -o libcrossguid.so.0.0.1 $(CXXFLAGS) -luuid \ | |
9 | -I/usr/include/uuid guid.cpp -o libcrossguid.so.0.0.1 $(CPPFLAGS) $(CXXFLAGS) -luuid \ | |
10 | 10 | $(LDFLAGS) |
11 | 11 | ar x /usr/lib/$(DEB_HOST_MULTIARCH)/libuuid.a |
12 | 12 | ar cr libcrossguid.a *.o |