Skip to contentSkip to conversation

beecrypt: fix compile for coldfire

PATCH New Waldemar Brodkorb 2 participants 2 messages Jun 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 beecrypt: fix compile for coldfire

Package uses m68k optimization, which doesn't work with coldfire. These optimizations are disabled with --enable-debug.

Fixes following autobuild failure:
http://autobuild.buildroot.net/results/bbe57a096de207b78e069591e21ac5a79eab069e/
http://autobuild.buildroot.net/results/ab702e6db382b1975d0cd61feaba9812830e81e8/

---
 package/beecrypt/beecrypt.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/beecrypt/beecrypt.mk +5 -0
index e66cec1..c5721ea 100644
@@ -17,6 +17,11 @@ BEECRYPT_CONF_OPTS = \
 	--without-python \
 	--disable-openmp
 
+# disable optmized m68k assembly as it doesn't compile for coldfire
+ifeq ($(BR2_m68k_cf),y)
+BEECRYPT_CONF_OPTS += --enable-debug
+endif
+
 ifeq ($(BR2_PACKAGE_BEECRYPT_CPP),y)
 BEECRYPT_DEPENDENCIES += icu
 BEECRYPT_CONF_OPTS += --with-cplusplus
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 beecrypt: fix compile for coldfire

Quoted 19 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Waldemar" == Waldemar Brodkorb <[email protected]> writes:

Package uses m68k optimization, which doesn't work with coldfire. These optimizations are disabled with --enable-debug.

Fixes following autobuild failure:
http://autobuild.buildroot.net/results/bbe57a096de207b78e069591e21ac5a79eab069e/
http://autobuild.buildroot.net/results/ab702e6db382b1975d0cd61feaba9812830e81e8/

---
 package/beecrypt/beecrypt.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/beecrypt/beecrypt.mk +0 -0
index e66cec1..c5721ea 100644

package/beecrypt/beecrypt.mk BEECRYPT_CONF_OPTS = \ · line 20

Quoted 4 lines
package/beecrypt/beecrypt.mk +1 -0
@@ -17,6 +17,11 @@ BEECRYPT_CONF_OPTS = \
 	--without-python \
 	--disable-openmp
 
+# disable optmized m68k assembly as it doesn't compile for coldfire

s/optmized/optimized/. Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard