diff options
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | m4/check-os-options.m4 | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 87a80cc..51e096b 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -32,10 +32,6 @@ LT_INIT([pic-only]) | |||
32 | 32 | ||
33 | CHECK_OS_OPTIONS | 33 | CHECK_OS_OPTIONS |
34 | 34 | ||
35 | if test "$HOST_OS" = "unsupported"; then | ||
36 | AC_MSG_ERROR([unsupported platform: $host_os]) | ||
37 | fi | ||
38 | |||
39 | CHECK_C_HARDENING_OPTIONS | 35 | CHECK_C_HARDENING_OPTIONS |
40 | 36 | ||
41 | DISABLE_AS_EXECUTABLE_STACK | 37 | DISABLE_AS_EXECUTABLE_STACK |
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4 index 91c3021..1f0b7e4 100644 --- a/m4/check-os-options.m4 +++ b/m4/check-os-options.m4 | |||
@@ -132,7 +132,8 @@ char buf[1]; getentropy(buf, 1); | |||
132 | AC_SUBST([PLATFORM_LDADD], ['-ldl -lmd -lnsl -lsocket']) | 132 | AC_SUBST([PLATFORM_LDADD], ['-ldl -lmd -lnsl -lsocket']) |
133 | ;; | 133 | ;; |
134 | *) | 134 | *) |
135 | HOST_OS=unsupported | 135 | HOST_OS=$host_os |
136 | HOST_ABI=elf | ||
136 | ;; | 137 | ;; |
137 | esac | 138 | esac |
138 | 139 | ||