Browse Source

fix build error

Waldemar Brodkorb 10 years ago
parent
commit
d0f28d078f
2 changed files with 1 additions and 23 deletions
  1. 1 0
      package/socat/Makefile
  2. 0 23
      package/socat/patches/patch-configure

+ 1 - 0
package/socat/Makefile

@@ -24,6 +24,7 @@ include ${ADK_TOPDIR}/mk/package.mk
 
 $(eval $(call PKG_template,SOCAT,socat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
+AUTOTOOL_STYLE:=	autoconf
 CONFIGURE_ENV+=		sc_cv_termios_ispeed=no \
 			sc_cv_sys_crdly_shift=9 \
 			sc_cv_sys_tabdly_shift=11 \

+ 0 - 23
package/socat/patches/patch-configure

@@ -1,23 +0,0 @@
---- socat-1.7.2.4.orig/configure	2014-03-09 20:57:51.000000000 +0100
-+++ socat-1.7.2.4/configure	2014-03-22 12:20:13.000000000 +0100
-@@ -3347,18 +3347,8 @@ fi
- # fail
- 
- 
--
--if test "$CC" = "gcc"; then
--   CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
--   ERRONWARN="-Werror -O0"
--elif test "$CC" = "clang"; then
--   CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
--   ERRONWARN="-Werror -O0"
--#elif Sun Studio
--#   ERRONWARN="-errwarn"
--else
--   ERRONWARN=
--fi
-+CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
-+ERRONWARN="-Werror -O0"
- export CFLAGS
- 
-