netty-tcnative/i388aprFix.patch
eulerstorage 8bebfc7b77 Package Init
Signed-off-by: eulerstorage <eulerstorage@huawei.com>
2019-12-17 17:20:36 +08:00

13 lines
526 B
Diff

--- netty-tcnative-netty-tcnative-1.1.30.Fork2/src/main/native-package/m4/custom.m4
+++ netty-tcnative-netty-tcnative-1.1.30.Fork2/src/main/native-package/m4/custom.m4
@@ -47,7 +47,7 @@
fi
dnl Update the compiler/linker flags to add APR and OpenSSL to the build path.
- CFLAGS="$CFLAGS $TCN_OPENSSL_INC $APR_INCLUDES"
+ CFLAGS="$CFLAGS $TCN_OPENSSL_INC $APR_INCLUDES -D_LARGEFILE64_SOURCE"
CXXFLAGS="$CXXFLAGS $TCN_OPENSSL_INC $APR_INCLUDES"
LDFLAGS="$LDFLAGS $TCN_OPENSSL_LIBS $APR_LIBS"
AC_SUBST(CFLAGS)