mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
fixup! Locking data structures
This commit is contained in:
parent
5c9b16f86c
commit
7fc2a75fb9
@ -141,12 +141,11 @@ else
|
||||
fi
|
||||
|
||||
# This is assumed to be necessary for proper BIRD build
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing -fno-strict-overflow"
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing -fno-strict-overflow -fms-extensions"
|
||||
|
||||
if test "$bird_cflags_default" = yes ; then
|
||||
BIRD_CHECK_GCC_OPTION([bird_cv_c_option_wno_pointer_sign], [-Wno-pointer-sign], [-Wall])
|
||||
BIRD_CHECK_GCC_OPTION([bird_cv_c_option_wno_missing_init], [-Wno-missing-field-initializers], [-Wall -Wextra])
|
||||
BIRD_CHECK_GCC_OPTION([bird_cv_c_option_fms_extensions], [-fms-extensions], [-Wall -Wextra])
|
||||
BIRD_CHECK_GCC_OPTION([bird_cv_c_option_wno_microsoft_anon_tag], [-Wno-microsoft-anon-tag], [-Wall -Wextra])
|
||||
|
||||
|
||||
@ -164,7 +163,6 @@ if test "$bird_cflags_default" = yes ; then
|
||||
CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wno-parentheses"
|
||||
BIRD_ADD_GCC_OPTION([bird_cv_c_option_wno_pointer_sign], [-Wno-pointer-sign])
|
||||
BIRD_ADD_GCC_OPTION([bird_cv_c_option_wno_missing_init], [-Wno-missing-field-initializers])
|
||||
BIRD_ADD_GCC_OPTION([bird_cv_c_option_fms_extensions], [-fms-extensions])
|
||||
BIRD_ADD_GCC_OPTION([bird_cv_c_option_wno_microsoft_anon_tag], [-Wno-microsoft-anon-tag])
|
||||
fi
|
||||
|
||||
|
@ -14,8 +14,8 @@ COMMON_FLAGS= --prefix=/usr --sysconfdir=/etc/bird --mandir=\$${prefix}/share/ma
|
||||
--docdir=\$${prefix}/share/bird2 \
|
||||
--enable-client
|
||||
|
||||
CFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fPIC
|
||||
LDFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fPIC -Wl,-z,defs -Wl,--as-needed
|
||||
CFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fms-extensions -fPIC
|
||||
LDFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fms-extensions -fPIC -Wl,-z,defs -Wl,--as-needed
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
Loading…
Reference in New Issue
Block a user