aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd/cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/dhcpcd/cc.patch')
-rw-r--r--main/dhcpcd/cc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/dhcpcd/cc.patch b/main/dhcpcd/cc.patch
new file mode 100644
index 0000000000..b09cc0c49e
--- /dev/null
+++ b/main/dhcpcd/cc.patch
@@ -0,0 +1,11 @@
+--- ./configure.orig
++++ ./configure
+@@ -272,7 +272,7 @@
+ fi
+
+ echo "Using compiler .. $CC"
+-if ! type "$CC" >/dev/null 2>&1; then
++if ! $CC -v >/dev/null 2>&1; then
+ echo "$CC is not an executable"
+ exit 1
+ fi