Skip to content

Commit

Permalink
Possibly fix bug causing rebuilds not to work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdelisle committed Apr 9, 2020
1 parent dbbdb1d commit a6dcc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_build/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ Builder.configure({
});
}

builder.config.cflags.push(builder.config.optimizeLevel);
if (!/^\-O0$/.test(builder.config.optimizeLevel)) {
builder.config.cflags.push('-D_FORTIFY_SOURCE=2');
}
Expand Down Expand Up @@ -193,7 +194,6 @@ Builder.configure({
} else {
console.log("Link time optimization not supported [" + err + "]");
}
builder.config.cflags.push(builder.config.optimizeLevel);
});
}

Expand Down

0 comments on commit a6dcc71

Please sign in to comment.