git.videolan.org
/
x262.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
67a69c0
)
configure: fix gpac detection with -Wp,-D_FORTIFY_SOURCE=2
author
Sergio Basto
<sergio@serjux.com>
Fri, 23 Nov 2012 02:02:50 +0000
(18:02 -0800)
committer
Jason Garrett-Glaser
<jason@x264.com>
Thu, 6 Dec 2012 23:52:23 +0000
(15:52 -0800)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
250b0ac
..
6b2d616
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-904,7
+904,7
@@
if [ "$gpac" = "auto" ] ; then
fi
if [ "$gpac" = "yes" ] ; then
define HAVE_GPAC
- if cc_check gpac/isomedia.h "-Werror $GPAC_LIBS" "
gf_malloc(1); gf_free(NULL
);" ; then
+ if cc_check gpac/isomedia.h "-Werror $GPAC_LIBS" "
void *p; p = gf_malloc(1); gf_free(p
);" ; then
define HAVE_GF_MALLOC
fi
LDFLAGSCLI="$GPAC_LIBS $LDFLAGSCLI"