txlyre 1 year ago
parent
commit
469770b3c9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      langs/objc/run.sh

+ 1 - 2
langs/objc/run.sh

@@ -1,7 +1,6 @@
-IN="$(mktemp --suffix .m)"
 OUT="$(mktemp)"
 
-objc -o "$OUT" "$IN"
+gcc -o "$OUT" -xobjective-c -
 
 if [ $? -eq 0 ]; then
   exec "$OUT"