git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd2e82a
)
helloworld: Use {C,LD}FLAGS during build. Duh.
author
Leon Woestenberg
<leon@sidebranch.com>
Thu, 3 Dec 2009 18:22:24 +0000
(19:22 +0100)
committer
Leon Woestenberg
<leon@sidebranch.com>
Thu, 3 Dec 2009 18:23:18 +0000
(19:23 +0100)
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
recipes/helloworld/helloworld_1.0.0.bb
patch
|
blob
|
history
diff --git
a/recipes/helloworld/helloworld_1.0.0.bb
b/recipes/helloworld/helloworld_1.0.0.bb
index
af29a77
..
83b3965
100644
(file)
--- a/
recipes/helloworld/helloworld_1.0.0.bb
+++ b/
recipes/helloworld/helloworld_1.0.0.bb
@@
-1,6
+1,6
@@
DESCRIPTION = "Minimal statically compiled Hello world!"
LICENSE = "GPL"
-PR = "r
0
"
+PR = "r
1
"
S = "${WORKDIR}/${P}"
@@
-11,7
+11,8
@@
do_fetch () {
}
do_compile () {
- ${CC} -o helloworld helloworld.c -static
+ ${CC} ${CFLAGS} -c -o helloworld.o helloworld.c
+ ${CC} ${LDFLAGS} -o helloworld helloworld.o -static
}
do_install () {