projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b29c2
)
fix global visibility (vis.h) support for out-of-tree builds
author
Rich Felker
<dalias@aerifal.cx>
Wed, 20 Jan 2016 19:43:37 +0000
(19:43 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 20 Jan 2016 19:43:37 +0000
(19:43 +0000)
commit
2f853dd6b9a95d5b13ee8f9df762125e0588df5d
failed to change the
test for -include vis.h support to use $srcdir, so vis.h was always
disabled by configure for out-of-tree builds.
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index fcfdc1587559ce8e168ce8723b59348b46a3a739..5b97f719b0da622b81cdaf94ae0a2dbeabea332e 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-517,7
+517,7
@@
int foo(void) { }
int bar(void) { fp = foo; return foo(); }
EOF
if $CC $CFLAGS_C99FSE $CPPFLAGS $CFLAGS \
- -DSHARED -fPIC -I
.
/src/internal -include vis.h \
+ -DSHARED -fPIC -I
$srcdir
/src/internal -include vis.h \
-nostdlib -shared -Wl,-Bsymbolic-functions \
-o /dev/null "$tmpc" >/dev/null 2>&1 ; then
visibility=yes