mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
socat: Import from oldpackages, upgrade to 1.7.2.4, update copyright, license info, pkg maintainer. Fix cross built error
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -41,7 +41,7 @@ AC_CHECK_PROG(AR, ar, ar, gar)
|
||||
# fail
|
||||
AC_LANG_COMPILER_REQUIRE()
|
||||
|
||||
-if test "$CC" = "gcc"; then
|
||||
+if test "$GCC" = yes; then
|
||||
CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
|
||||
ERRONWARN="-Werror -O0"
|
||||
elif test "$CC" = "clang"; then
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3348,7 +3348,7 @@ fi
|
||||
|
||||
|
||||
|
||||
-if test "$CC" = "gcc"; then
|
||||
+if test "$GCC" = yes; then
|
||||
CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
|
||||
ERRONWARN="-Werror -O0"
|
||||
elif test "$CC" = "clang"; then
|
||||
Reference in New Issue
Block a user