--- iproute2-4.2.0/configure	2015-09-01 01:31:15.000000000 +0200
+++ src/configure	2017-07-11 22:06:47.481105089 +0200
@@ -29,7 +29,7 @@
 {
     : ${PKG_CONFIG:=pkg-config}
     : ${AR=ar}
-    : ${CC=gcc}
+    : ${CC=$CC $CFLAGS}
     echo "PKG_CONFIG:=${PKG_CONFIG}" >>Config
     echo "AR:=${AR}" >>Config
     echo "CC:=${CC}" >>Config
@@ -275,13 +275,7 @@
 check_selinux()
 # SELinux is a compile time option in the ss utility
 {
-	if ${PKG_CONFIG} libselinux --exists
-	then
-		echo "HAVE_SELINUX:=y" >>Config
-		echo "yes"
-	else
-		echo "no"
-	fi
+	echo "no"
 }
 
 check_mnl()
