]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - builder-support/specs/pdns-recursor.spec
el6: set __STDC_FORMAT_MACROS during package builds
[thirdparty/pdns.git] / builder-support / specs / pdns-recursor.spec
index 4e9608e239db3962db487104360496f373e6dd1d..4b033b21349957a720351a5e4d41f1a583ccf0ce 100644 (file)
@@ -74,7 +74,8 @@ package if you need a dns cache for your network.
     --enable-unit-tests \
 %if 0%{?rhel} == 6
     --without-protobuf \
-    --with-boost=/usr/include/boost148 LIBRARY_PATH=/usr/lib64/boost148
+    --with-boost=/usr/include/boost148 LIBRARY_PATH=/usr/lib64/boost148 \
+    CPPFLAGS=-D__STDC_FORMAT_MACROS
 
 make %{?_smp_mflags} LIBRARY_PATH=/usr/lib64/boost148
 %else