git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kbuild: Fix gcc -x syntax
[pandora-kernel.git]
/
scripts
/
kconfig
/
lxdialog
/
check-lxdialog.sh
diff --git
a/scripts/kconfig/lxdialog/check-lxdialog.sh
b/scripts/kconfig/lxdialog/check-lxdialog.sh
index
82cc3a8
..
50df490
100644
(file)
--- a/
scripts/kconfig/lxdialog/check-lxdialog.sh
+++ b/
scripts/kconfig/lxdialog/check-lxdialog.sh
@@
-38,7
+38,7
@@
trap "rm -f $tmp" 0 1 2 3 15
# Check if we can link to ncurses
check() {
- $cc -xc - -o $tmp 2>/dev/null <<'EOF'
+ $cc -x
c - -o $tmp 2>/dev/null <<'EOF'
#include CURSES_LOC
main() {}
EOF