From e3804f1ac3b009b8c32765d6306692de6840ae42 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 26 Oct 2023 21:48:38 +0000 Subject: [PATCH] try fixing map files with linux autotools gcc --- curl-autotools.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/curl-autotools.sh b/curl-autotools.sh index f87cc7852..d65979a73 100755 --- a/curl-autotools.sh +++ b/curl-autotools.sh @@ -75,6 +75,8 @@ _VER="$1" fi if [ "${_OS}" = 'mac' ]; then LDFLAGS="${LDFLAGS} -Wl,-map,${_MAP_NAME}" + elif [ "${_OS}" = 'linux' ]; then + LDFLAGS="${LDFLAGS} -Wl,-Map -Wl,${_MAP_NAME}" else LDFLAGS="${LDFLAGS} -Wl,-Map,${_MAP_NAME}" fi