kbuild: Fix gcc -x syntax
[pandora-kernel.git] / scripts / kconfig / lxdialog / check-lxdialog.sh
index 82cc3a8..50df490 100644 (file)
@@ -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