mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
r13967: change the standard visibility to "default" public again
for modules, libraries and subsystems metze
This commit is contained in:
parent
2db081fd70
commit
2d546c3280
@ -137,7 +137,6 @@ if test -n "$VISIBILITY_CFLAGS"; then
|
||||
visibility_attribute=yes
|
||||
],[
|
||||
AC_MSG_RESULT(no)
|
||||
VISIBILITY_CFLAGS=""
|
||||
])
|
||||
CFLAGS="$OLD_CFLAGS"
|
||||
fi
|
||||
|
@ -160,7 +160,11 @@ sub check($$$$$)
|
||||
}
|
||||
|
||||
unless (defined($part->{STANDARD_VISIBILITY})) {
|
||||
$part->{STANDARD_VISIBILITY} = "hidden";
|
||||
if ($part->{TYPE} eq "BINARY") {
|
||||
$part->{STANDARD_VISIBILITY} = "hidden";
|
||||
} else {
|
||||
$part->{STANDARD_VISIBILITY} = "default";
|
||||
}
|
||||
}
|
||||
|
||||
unless (defined($part->{EXTRA_CFLAGS})) {
|
||||
|
@ -111,7 +111,7 @@ sub create_output($$)
|
||||
$part->{OUTPUT_TYPE} = "OBJLIST";
|
||||
}
|
||||
|
||||
if (($part->{STANDARD_VISIBILITY} ne "hidden") and
|
||||
if (($part->{STANDARD_VISIBILITY} ne "default") and
|
||||
($config->{visibility_attribute} eq "yes")) {
|
||||
$part->{EXTRA_CFLAGS} .= " -fvisibility=$part->{STANDARD_VISIBILITY}";
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ AC_ARG_ENABLE(dso,
|
||||
|
||||
#################################################
|
||||
# add *_CFLAGS only for the real build
|
||||
CFLAGS="${CFLAGS} ${VISIBILITY_CFLAGS} ${DEVELOPER_CFLAGS}"
|
||||
CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}"
|
||||
|
||||
#################################################
|
||||
# final configure stuff
|
||||
|
Loading…
x
Reference in New Issue
Block a user