OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e61d3
)
The "strip" in gcc 4.4 doesn't set the executable bit on its output, despite what...
author
Rob Landley
<rob@landley.net>
Sun, 13 Dec 2009 06:12:26 +0000
(
00:12
-0600)
committer
Rob Landley
<rob@landley.net>
Sun, 13 Dec 2009 06:12:26 +0000
(
00:12
-0600)
scripts/make.sh
patch
|
blob
|
history
diff --git
a/scripts/make.sh
b/scripts/make.sh
index
9cd5ccd
..
828bdd6
100755
(executable)
--- a/
scripts/make.sh
+++ b/
scripts/make.sh
@@
-99,3
+99,6
@@
echo "Compile toybox..."
$DEBUG $CC $CFLAGS -I . -o toybox_unstripped $OPTIMIZE main.c lib/*.c \
$TOYFILES -Wl,--as-needed,-lutil,--no-as-needed || exit 1
$DEBUG $STRIP toybox_unstripped -o toybox || exit 1
+# gcc 4.4's strip command is buggy, and doesn't set the executable bit on
+# its output the way SUSv4 suggests it do so.
+$DEBUG chmod +x toybox || exit 1