summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/configure.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/configure.pm b/make/configure.pm
index 31ef77395..41a116df0 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -74,7 +74,7 @@ sub getrevision {
sub getcompilerflags {
my ($file) = @_;
- open(FLAGS, $file);
+ open(FLAGS, $file) or return "";
while (<FLAGS>) {
if ($_ =~ /^\/\* \$CompileFlags: (.+) \*\/$/) {
close(FLAGS);