summaryrefslogtreecommitdiff
path: root/meta/packages/qmake/qmake2-cross-2.10a/use-lflags-last.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-12-12 08:43:07 +0000
committerRichard Purdie <richard@openedhand.com>2007-12-12 08:43:07 +0000
commitcfd98f5000b28c9f2958600ba8cebf457ca8f67c (patch)
tree1b2d6c0bd8c0ace62afaba41539d2713b2f9488e /meta/packages/qmake/qmake2-cross-2.10a/use-lflags-last.patch
parent4db23a9e9061313d0c4c31c7f1b6915e9b1c0d35 (diff)
downloadopenembedded-core-cfd98f5000b28c9f2958600ba8cebf457ca8f67c.tar.gz
openembedded-core-cfd98f5000b28c9f2958600ba8cebf457ca8f67c.tar.bz2
openembedded-core-cfd98f5000b28c9f2958600ba8cebf457ca8f67c.tar.xz
openembedded-core-cfd98f5000b28c9f2958600ba8cebf457ca8f67c.zip
qmake: Turn native package into a cross package since it touches target staging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3333 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qmake/qmake2-cross-2.10a/use-lflags-last.patch')
-rw-r--r--meta/packages/qmake/qmake2-cross-2.10a/use-lflags-last.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/qmake/qmake2-cross-2.10a/use-lflags-last.patch b/meta/packages/qmake/qmake2-cross-2.10a/use-lflags-last.patch
new file mode 100644
index 000000000..4197dbbf6
--- /dev/null
+++ b/meta/packages/qmake/qmake2-cross-2.10a/use-lflags-last.patch
@@ -0,0 +1,22 @@
+Index: qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp
+===================================================================
+--- qtopia-core-opensource-src-4.3.1.orig/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:45:26.000000000 +0200
++++ qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:57:09.000000000 +0200
+@@ -416,7 +416,7 @@
+ t << "\n\t" << mkdir_p_asstring(destdir) << "\n\t";
+ if(!project->isEmpty("QMAKE_PRE_LINK"))
+ t << var("QMAKE_PRE_LINK") << "\n\t";
+- t << "$(LINK) $(LFLAGS) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS)";
++ t << "$(LINK) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS) $(LFLAGS)";
+ if(!project->isEmpty("QMAKE_POST_LINK"))
+ t << "\n\t" << var("QMAKE_POST_LINK");
+ t << endl << endl;
+@@ -430,7 +430,7 @@
+ t << mkdir_p_asstring(destdir) << "\n\t";
+ if(!project->isEmpty("QMAKE_PRE_LINK"))
+ t << var("QMAKE_PRE_LINK") << "\n\t";
+- t << "$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)";
++ t << "$(LINK) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) $(LFLAGS)";
+ if(!project->isEmpty("QMAKE_POST_LINK"))
+ t << "\n\t" << var("QMAKE_POST_LINK");
+ t << endl << endl;