opnsense-ports/cad/linuxcnc-devel/files/patch-tests_lowlevel_mutex_test.sh
Franco Fichtner 82813a7fc7 */*: sync with upstream
Taken from: FreeBSD
2016-07-14 09:12:15 +02:00

9 lines
330 B
Bash

--- tests/lowlevel/mutex/test.sh.orig 2016-06-25 02:19:12 UTC
+++ tests/lowlevel/mutex/test.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-gcc -O -I ../../../include test.c -o test -DULAPI -std=gnu99 -pthread || exit 1
+cc -O -I ../../../include test.c -o test -DULAPI -std=gnu99 -pthread || exit 1
./test; exitval=$?
rm -f test
exit $exitval