Skip to content

Commit

Permalink
try fixing map files with linux autotools gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 26, 2023
1 parent 44c3878 commit e3804f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions curl-autotools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3804f1

Please sign in to comment.