This ensures that added CPPFLAGS are validated against libc headers.
---
Forgot the host cppflags check function ..
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 555dc88..32ab732 100755
--- a/configure
+++ b/configure
@@ -872,7 +872,7 @@ check_code(){
check_cppflags(){
log check_cppflags "$@"
check_cpp "$@" <<EOF && append CPPFLAGS "$@"
-int x;
+#include <stdlib.h>;
EOF
}
@@ -1166,7 +1166,7 @@ check_host_cpp(){
check_host_cppflags(){
log check_host_cppflags "$@"
check_host_cpp "$@" <<EOF && append host_cppflags "$@"
-int x;
+#include <stdlib.h>;
EOF
}
--
2.1.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel