opkg: Only add no-array-bounds option for armv7 machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4891 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
e36b4c3b2e
commit
af361dbeee
|
@ -6,7 +6,7 @@ RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
|
|||
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
|
||||
PACKAGE_ARCH_update-alternatives-cworth = "all"
|
||||
|
||||
PR = "r6"
|
||||
PR = "r7"
|
||||
|
||||
PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"
|
||||
|
||||
|
@ -19,7 +19,12 @@ FILES_libopkg = "${libdir}/*.so.*"
|
|||
OPKG_INIT_POSITION = "98"
|
||||
OPKG_INIT_POSITION_slugos = "41"
|
||||
|
||||
TARGET_CFLAGS += "-Wno-array-bounds"
|
||||
EXTRACFLAGS = ""
|
||||
EXTRACFLAGS_omap-3430ldp = "-Wno-array-bounds"
|
||||
EXTRACFLAGS_omap-3430sdp = "-Wno-array-bounds"
|
||||
EXTRACFLAGS_beagleboard = "-Wno-array-bounds"
|
||||
|
||||
TARGET_CFLAGS += "${EXTRACFLAGS}"
|
||||
|
||||
pkg_postinst_opkg () {
|
||||
#!/bin/sh
|
||||
|
|
Loading…
Reference in New Issue