]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Also support -fpic in -fPIE/-fPIC conflict detection.
[blhc/blhc.git] / bin / blhc
index b2188eeb32d36d651da1860500444249c120cd62..210f0ac5a0511f8fcb829493c491b07d94015c9f 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -87,7 +87,7 @@ sub pic_pie_conflict {
     my ($line, $pie, $missing_flags_ref, @flags_pie) = @_;
 
     return 0 if not $pie;
-    return 0 if not any_flags_used($line, ('-fPIC'));
+    return 0 if not any_flags_used($line, ('-fPIC', '-fpic'));
 
     my %flags = map { $_ => 1 } @flags_pie;