aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2025-08-25 00:02:57 -0600
committerTheo Buehler <tb@openbsd.org>2025-08-25 00:03:51 -0600
commit4494cd0525db4decd7a3bab7491888a334dec8aa (patch)
treec6924bebe4a35e7a79d8f273e29e4a4af9474de9 /m4
parent2f62a5e2e7d04a7c8bec77a40ecedbf98048a7e0 (diff)
downloadportable-4494cd0525db4decd7a3bab7491888a334dec8aa.tar.gz
portable-4494cd0525db4decd7a3bab7491888a334dec8aa.tar.bz2
portable-4494cd0525db4decd7a3bab7491888a334dec8aa.zip
Revert "trim some whitespace for hpux checks"
This reverts commit 48d4157f99c00a1180db5298385d396ef840adda. because it didn't trim whitespace and doesn't look right. Pointed out by @vszakats in https://github.com/libressl/portable/pull/1165#pullrequestreview-3148582342
Diffstat (limited to 'm4')
-rw-r--r--m4/check-os-options.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4
index fd63d77..99f142e 100644
--- a/m4/check-os-options.m4
+++ b/m4/check-os-options.m4
@@ -89,14 +89,14 @@ char buf[1]; getentropy(buf, 1);
89 ;; 89 ;;
90 *hpux*) 90 *hpux*)
91 HOST_OS=hpux; 91 HOST_OS=hpux;
92 if test "echo $host_os | cut -c 1-4" = "ia64" ; then 92 if test "`echo $host_os | cut -c 1-4`" = "ia64" ; then
93 if test "echo $CC | cut -d ' ' -f 1" = "gcc" ; then 93 if test "`echo $CC | cut -d ' ' -f 1`" = "gcc" ; then
94 CFLAGS="$CFLAGS -mlp64" 94 CFLAGS="$CFLAGS -mlp64"
95 else 95 else
96 CFLAGS="+DD64" 96 CFLAGS="+DD64"
97 fi 97 fi
98 fi 98 fi
99 if ! test "echo $CC | cut -d ' ' -f 1" = "gcc" ; then 99 if ! test "`echo $CC | cut -d ' ' -f 1`" = "gcc" ; then
100 CFLAGS="-g -O2 +Otype_safety=off $CFLAGS $USER_CFLAGS" 100 CFLAGS="-g -O2 +Otype_safety=off $CFLAGS $USER_CFLAGS"
101 fi 101 fi
102 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600 -D__STRICT_ALIGNMENT" 102 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600 -D__STRICT_ALIGNMENT"