summaryrefslogtreecommitdiff
path: root/erts/configure
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2022-01-21 11:23:48 +0100
committerLukas Larsson <lukas@erlang.org>2022-01-21 11:23:48 +0100
commitceca17908ca5d7c5d436530d1c5b45e8febc24cc (patch)
treebcb4512eb6498fc11c6bebad3aae9b81630a01bf /erts/configure
parent0ef24bfcbd4950171e9279a697249961d438481a (diff)
parentc189373eb8412ea3a4d95cb6dfbd18a5d67dc1c6 (diff)
downloaderlang-ceca17908ca5d7c5d436530d1c5b45e8febc24cc.tar.gz
Merge branch 'maint'
Diffstat (limited to 'erts/configure')
-rwxr-xr-xerts/configure14
1 files changed, 8 insertions, 6 deletions
diff --git a/erts/configure b/erts/configure
index 7d0aa2d1eb..2dc1fea26d 100755
--- a/erts/configure
+++ b/erts/configure
@@ -1564,11 +1564,11 @@ Optional Features:
into the main binary. It is also possible to give a
list of nifs that should be linked statically. The
list should be a comma separated and contain the
- absolute path to a .a archive for each nif lib
- that is to be statically linked. Note that you have
- to link any external dependencies, that the nifs have,
- to the main binary. So for the crypto nifs
- you want to pass LIBS=-lcrypto to configure.
+ absolute path to a .a archive for each nif that is
+ to be statically linked. Note that you have to link
+ any external dependencies, that the nifs have, to
+ the main binary. So for the crypto nifs you want to
+ pass LIBS=-lcrypto to configure.
--enable-static-drivers comma separated list of linked-in drivers to link
statically with the main binary. The list should
contain the absolute path to a .a archive for each
@@ -1682,7 +1682,7 @@ Some influential environment variables:
CXX C++ compiler
CXXFLAGS C++ compiler flags
LD linker (is often overridden by configure)
- LDFLAGS linker flags (can be risky to set since LD may be overriden by
+ LDFLAGS linker flags (can be risky to set since LD may be overridden by
configure)
LIBS libraries
DED_LD linker for Dynamic Erlang Drivers (set all DED_LD* variables or
@@ -3624,6 +3624,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
no_werror_CFLAGS=$(echo " $CFLAGS " | sed 's/ -Werror / /g')
if test "X $CFLAGS " != "X$no_werror_CFLAGS"; then
CFLAGS="$no_werror_CFLAGS"