Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64: fix builds #3708

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build/glib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ CFLAGS+=" -Wno-error=format-nonliteral -Wno-error=format=2"
# See comment in /usr/include/pwd.h
set_standard XPG6

CFLAGS[aarch64]+=" -mtls-dialect=trad"
LDFLAGS+=" -Wl,-z,ignore"
LDFLAGS[i386]+=" -lssp_ns"

Expand Down
2 changes: 2 additions & 0 deletions build/libpcap/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ CONFIGURE_OPTS="
--mandir=/usr/share/man
--with-pcap=dlpi
"

CFLAGS[aarch64]+=" -mtls-dialect=trad"
LDFLAGS+=" $SSPFLAGS"

build_init() {
Expand Down
6 changes: 6 additions & 0 deletions build/sudo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ CONFIGURE_OPTS="
CONFIGURE_OPTS[amd64]+="
--libexecdir=/usr/lib/$PROG/amd64
"
# for cross-builds this is detected as 'cross' which leads to sudo
# using its own implementation; however, the build fails to make
# the symbols global which breaks linking
CONFIGURE_OPTS[aarch64]+="
ac_cv_have_working_vsnprintf=yes
"

SKIP_LICENCES=Various
TESTSUITE_SED="
Expand Down
Loading