[packages] hping3: fix build failure on avr32 (closes: #7006)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20646 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d4b6d3c20e
commit
6c9f9d8abb
@ -36,7 +36,7 @@
|
|||||||
#else
|
#else
|
||||||
--- a/bytesex.h
|
--- a/bytesex.h
|
||||||
+++ b/bytesex.h
|
+++ b/bytesex.h
|
||||||
@@ -9,9 +9,11 @@
|
@@ -9,9 +9,12 @@
|
||||||
|
|
||||||
#if defined(__i386__) \
|
#if defined(__i386__) \
|
||||||
|| defined(__alpha__) \
|
|| defined(__alpha__) \
|
||||||
@ -46,6 +46,7 @@
|
|||||||
-#elif defined(__mc68000__) \
|
-#elif defined(__mc68000__) \
|
||||||
+#elif defined(__mc68000__) \
|
+#elif defined(__mc68000__) \
|
||||||
+ || (defined(__arm__) && (defined(ARMEB) || defined(__ARMEB__))) \
|
+ || (defined(__arm__) && (defined(ARMEB) || defined(__ARMEB__))) \
|
||||||
|
+ || defined (__avr32__) \
|
||||||
|| defined (__sparc__) \
|
|| defined (__sparc__) \
|
||||||
|| defined (__sparc) \
|
|| defined (__sparc) \
|
||||||
|| defined (__PPC__) \
|
|| defined (__PPC__) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user