mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 00:49:43 +02:00
replace cflags hacks with the correct solution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10031 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0bc6dad330
commit
1b03fd0720
@ -42,8 +42,6 @@ CONFIGURE_ARGS += \
|
|||||||
--enable-adminport \
|
--enable-adminport \
|
||||||
--enable-ipv6
|
--enable-ipv6
|
||||||
|
|
||||||
TARGET_CFLAGS += -Dbcopy=memmove -Dindex\(s,c\)=strchr\(s,c\)
|
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
(cd $(PKG_BUILD_DIR); touch \
|
(cd $(PKG_BUILD_DIR); touch \
|
||||||
configure.ac \
|
configure.ac \
|
||||||
|
@ -40,8 +40,6 @@ CONFIGURE_ARGS += \
|
|||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
CFLAGS="$(TARGET_CFLAGS)"
|
CFLAGS="$(TARGET_CFLAGS)"
|
||||||
|
|
||||||
TARGET_CFLAGS += -Dbcopy=memmove -Dindex\(s,c\)=strchr\(s,c\)
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/include/keynote
|
mkdir -p $(1)/usr/include/keynote
|
||||||
$(CP) $(PKG_BUILD_DIR)/{assertion,header,keynote,signature}.h $(1)/usr/include/keynote/
|
$(CP) $(PKG_BUILD_DIR)/{assertion,header,keynote,signature}.h $(1)/usr/include/keynote/
|
||||||
|
@ -94,7 +94,7 @@ UCLIBC_DYNAMIC_ATEXIT=y
|
|||||||
HAS_SHADOW=y
|
HAS_SHADOW=y
|
||||||
COMPAT_ATEXIT=y
|
COMPAT_ATEXIT=y
|
||||||
# UCLIBC_SUSV3_LEGACY is not set
|
# UCLIBC_SUSV3_LEGACY is not set
|
||||||
# UCLIBC_SUSV3_LEGACY_MACROS is not set
|
UCLIBC_SUSV3_LEGACY_MACROS=y
|
||||||
# UCLIBC_HAS_SHADOW is not set
|
# UCLIBC_HAS_SHADOW is not set
|
||||||
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
||||||
UCLIBC_HAS___PROGNAME=y
|
UCLIBC_HAS___PROGNAME=y
|
||||||
|
@ -95,7 +95,7 @@ UCLIBC_DYNAMIC_ATEXIT=y
|
|||||||
HAS_SHADOW=y
|
HAS_SHADOW=y
|
||||||
COMPAT_ATEXIT=y
|
COMPAT_ATEXIT=y
|
||||||
# UCLIBC_SUSV3_LEGACY is not set
|
# UCLIBC_SUSV3_LEGACY is not set
|
||||||
# UCLIBC_SUSV3_LEGACY_MACROS is not set
|
UCLIBC_SUSV3_LEGACY_MACROS=y
|
||||||
# UCLIBC_HAS_SHADOW is not set
|
# UCLIBC_HAS_SHADOW is not set
|
||||||
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
||||||
UCLIBC_HAS___PROGNAME=y
|
UCLIBC_HAS___PROGNAME=y
|
||||||
|
@ -79,7 +79,7 @@ UCLIBC_DYNAMIC_ATEXIT=y
|
|||||||
HAS_SHADOW=y
|
HAS_SHADOW=y
|
||||||
COMPAT_ATEXIT=y
|
COMPAT_ATEXIT=y
|
||||||
# UCLIBC_SUSV3_LEGACY is not set
|
# UCLIBC_SUSV3_LEGACY is not set
|
||||||
# UCLIBC_SUSV3_LEGACY_MACROS is not set
|
UCLIBC_SUSV3_LEGACY_MACROS=y
|
||||||
# UCLIBC_HAS_SHADOW is not set
|
# UCLIBC_HAS_SHADOW is not set
|
||||||
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
||||||
UCLIBC_HAS___PROGNAME=y
|
UCLIBC_HAS___PROGNAME=y
|
||||||
|
@ -95,7 +95,7 @@ MALLOC_GLIBC_COMPAT=y
|
|||||||
UCLIBC_DYNAMIC_ATEXIT=y
|
UCLIBC_DYNAMIC_ATEXIT=y
|
||||||
COMPAT_ATEXIT=y
|
COMPAT_ATEXIT=y
|
||||||
# UCLIBC_SUSV3_LEGACY is not set
|
# UCLIBC_SUSV3_LEGACY is not set
|
||||||
# UCLIBC_SUSV3_LEGACY_MACROS is not set
|
UCLIBC_SUSV3_LEGACY_MACROS=y
|
||||||
# UCLIBC_HAS_SHADOW is not set
|
# UCLIBC_HAS_SHADOW is not set
|
||||||
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
||||||
UCLIBC_HAS___PROGNAME=y
|
UCLIBC_HAS___PROGNAME=y
|
||||||
|
@ -95,7 +95,7 @@ MALLOC_GLIBC_COMPAT=y
|
|||||||
UCLIBC_DYNAMIC_ATEXIT=y
|
UCLIBC_DYNAMIC_ATEXIT=y
|
||||||
COMPAT_ATEXIT=y
|
COMPAT_ATEXIT=y
|
||||||
# UCLIBC_SUSV3_LEGACY is not set
|
# UCLIBC_SUSV3_LEGACY is not set
|
||||||
# UCLIBC_SUSV3_LEGACY_MACROS is not set
|
UCLIBC_SUSV3_LEGACY_MACROS=y
|
||||||
# UCLIBC_HAS_SHADOW is not set
|
# UCLIBC_HAS_SHADOW is not set
|
||||||
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
||||||
UCLIBC_HAS___PROGNAME=y
|
UCLIBC_HAS___PROGNAME=y
|
||||||
|
@ -92,7 +92,7 @@ UCLIBC_DYNAMIC_ATEXIT=y
|
|||||||
HAS_SHADOW=y
|
HAS_SHADOW=y
|
||||||
COMPAT_ATEXIT=y
|
COMPAT_ATEXIT=y
|
||||||
# UCLIBC_SUSV3_LEGACY is not set
|
# UCLIBC_SUSV3_LEGACY is not set
|
||||||
# UCLIBC_SUSV3_LEGACY_MACROS is not set
|
UCLIBC_SUSV3_LEGACY_MACROS=y
|
||||||
# UCLIBC_HAS_SHADOW is not set
|
# UCLIBC_HAS_SHADOW is not set
|
||||||
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
||||||
UCLIBC_HAS___PROGNAME=y
|
UCLIBC_HAS___PROGNAME=y
|
||||||
|
@ -92,7 +92,7 @@ UCLIBC_DYNAMIC_ATEXIT=y
|
|||||||
HAS_SHADOW=y
|
HAS_SHADOW=y
|
||||||
COMPAT_ATEXIT=y
|
COMPAT_ATEXIT=y
|
||||||
# UCLIBC_SUSV3_LEGACY is not set
|
# UCLIBC_SUSV3_LEGACY is not set
|
||||||
# UCLIBC_SUSV3_LEGACY_MACROS is not set
|
UCLIBC_SUSV3_LEGACY_MACROS=y
|
||||||
# UCLIBC_HAS_SHADOW is not set
|
# UCLIBC_HAS_SHADOW is not set
|
||||||
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
||||||
UCLIBC_HAS___PROGNAME=y
|
UCLIBC_HAS___PROGNAME=y
|
||||||
|
@ -81,7 +81,7 @@ UCLIBC_DYNAMIC_ATEXIT=y
|
|||||||
HAS_SHADOW=y
|
HAS_SHADOW=y
|
||||||
COMPAT_ATEXIT=y
|
COMPAT_ATEXIT=y
|
||||||
# UCLIBC_SUSV3_LEGACY is not set
|
# UCLIBC_SUSV3_LEGACY is not set
|
||||||
# UCLIBC_SUSV3_LEGACY_MACROS is not set
|
UCLIBC_SUSV3_LEGACY_MACROS=y
|
||||||
# UCLIBC_HAS_SHADOW is not set
|
# UCLIBC_HAS_SHADOW is not set
|
||||||
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
|
||||||
UCLIBC_HAS___PROGNAME=y
|
UCLIBC_HAS___PROGNAME=y
|
||||||
|
Loading…
Reference in New Issue
Block a user