summaryrefslogtreecommitdiff
path: root/packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer_e1@hotmail.com>2006-05-28 03:34:26 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-28 03:34:26 +0000
commitf48d479768b6aaf997169b8019c7978547bfbf15 (patch)
treed8208d612c48de3f0667da90b431d23e47d92691 /packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch
parent52146596f05520a8bf85ec7f77ba19038acbfbb2 (diff)
packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch: Lowers Optimization
* Sets -O2 instead of -O3 (otherwise 'pcrel too far' error) packages/pcmcia-cs/pcmcia-cs_3.2.8.bb: Including patch for sh3 * Sets usage of patch specific to sh3
Diffstat (limited to 'packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch')
-rw-r--r--packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch b/packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch
new file mode 100644
index 0000000000..ca28688f04
--- /dev/null
+++ b/packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch
@@ -0,0 +1,11 @@
+--- pcmcia-cs-3.2.8/rules.mk_orig 2006-05-26 23:23:12.000000000 +0000
++++ pcmcia-cs-3.2.8/rules.mk 2006-05-26 23:23:18.000000000 +0000
+@@ -1,7 +1,7 @@
+ # Global defaults
+
+ # Kernel compiles must have optimization enabled!
+-CFLAGS = -O3 -Wall -Wstrict-prototypes -pipe $(WFLAG)
++CFLAGS = -O2 -Wall -Wstrict-prototypes -pipe $(WFLAG)
+ COFLAGS = -kv
+ YFLAGS = -d
+