Skip to contentSkip to conversation

recipes: correct the previous fix to properly pass options to the compiler

PATCH In review Franklin S Cooper Jr 1 participant 2 messages Aug 22, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes: correct the previous fix to properly pass options to the compiler

* Correctly pass the options to the compiler instead of to make.
* For some reason the incorrect approach allowed the software to be compiled. Errors were being ignored which made it seem like everything was compiling successfull until you realized files/libraries were missing.

---
 .../pulseaudio/libatomics-ops_1.2.bbappend         |    2 +-
 .../postgresql/postgresql_8.4.7.bbappend           |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bbappend +1 -1
index 4c60634..57c9972 100644
@@ -1,3 +1,3 @@
 PR_append = "-arago0"
 
-EXTRA_OEMAKE += "-mimplicit-it=thumb"
+EXTRA_OEMAKE += "CFLAGS+='-Wa, -mimplicit-it=thumb'"
meta-arago-distro/recipes-support/postgresql/postgresql_8.4.7.bbappend +1 -1
index 4c60634..57c9972 100644
@@ -1,3 +1,3 @@
 PR_append = "-arago0"
 
-EXTRA_OEMAKE += "-mimplicit-it=thumb"
+EXTRA_OEMAKE += "CFLAGS+='-Wa, -mimplicit-it=thumb'"
Signature · 1 line
1.7.0.4
#1 lore raw

Please ignore this patch. Apparently the compiler didn't like libatomics receiving this option. I received the following error
cc1: error: unrecognized command line option '-mimplicit=it=thumb'
Any suggestions on how to properly pass in this variable?

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Tuesday, August 21, 2012 8:35 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago-distro][PATCH] recipes: correct the previous fix to properly pass options to the compiler

* Correctly pass the options to the compiler instead of to make.
* For some reason the incorrect approach allowed the software to be compiled. Errors were being ignored which made it seem like everything was compiling successfull until you realized files/libraries were missing.

---
 .../pulseaudio/libatomics-ops_1.2.bbappend         |    2 +-
 .../postgresql/postgresql_8.4.7.bbappend           |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bbappend +1 -1
index 4c60634..57c9972 100644
@@ -1,3 +1,3 @@
 PR_append = "-arago0"
 
-EXTRA_OEMAKE += "-mimplicit-it=thumb"
+EXTRA_OEMAKE += "CFLAGS+='-Wa, -mimplicit-it=thumb'"
meta-arago-distro/recipes-support/postgresql/postgresql_8.4.7.bbappend +1 -1
index 4c60634..57c9972 100644
@@ -1,3 +1,3 @@
 PR_append = "-arago0"
 
-EXTRA_OEMAKE += "-mimplicit-it=thumb"
+EXTRA_OEMAKE += "CFLAGS+='-Wa, -mimplicit-it=thumb'"
Signature · 1 line
1.7.0.4