Skip to content

Instantly share code, notes, and snippets.

@cjac
Created March 18, 2020 03:30
Show Gist options
  • Save cjac/2560c51f41a778654f2293f3afa49bbf to your computer and use it in GitHub Desktop.
Save cjac/2560c51f41a778654f2293f3afa49bbf to your computer and use it in GitHub Desktop.
cj@debian:~/src/netty-tcnative$ git diff
diff --git a/openssl-static/pom.xml b/openssl-static/pom.xml
index a37db16..5934d2c 100644
--- a/openssl-static/pom.xml
+++ b/openssl-static/pom.xml
@@ -133,6 +133,7 @@
<forceConfigure>${forceConfigure}</forceConfigure>
<windowsBuildTool>msbuild</windowsBuildTool>
<configureArgs>
+ <configureArg>CFLAGS=-mcpu=v9a</configureArg>
<configureArg>${macOsxDeploymentTarget}</configureArg>
<configureArg>--with-ssl=${sslHome}</configureArg>
<configureArg>--with-apr=${aprHome}</configureArg>
[INFO] --- maven-hawtjni-plugin:1.11:build (build-native-lib) @ netty-tcnative-openssl-static ---
[INFO] executing: /bin/sh -c ./configure --disable-ccache --prefix=/home/cj/src/netty-tcnative/openssl-static/target/native-build/target CFLAGS=-mcpu=v9a MACOSX_DEPLOYMENT_TARGET=10.9 --with-ssl=/home/cj/src/netty-tcnative/openssl-static/target/ssl --with-apr=/home/cj/src/netty-tcnative/openssl-static/target/apr --with-static-libs --libdir=/home/cj/src/netty-tcnative/openssl-static/target/native-build/target/lib
[INFO] configure: WARNING: unrecognized options: --disable-ccache
[INFO] checking build system type... sparc64-unknown-linux-gnu
[INFO] checking host system type... sparc64-unknown-linux-gnu
[INFO] checking target system type... sparc64-unknown-linux-gnu
[INFO] ./configure: line 2295: -mcpu=v9a: command not found
[INFO] ./configure: line 2296: -O3: command not found
[INFO] checking for gcc... gcc
[INFO] checking whether the C compiler works... no
[INFO] configure: error: in `/home/cj/src/netty-tcnative/openssl-static/target/native-build':
[INFO] configure: error: C compiler cannot create executables
[INFO] See `config.log' for more details
[INFO] rc: 77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment