Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
ntpsec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
NTPsec
ntpsec
Commits
cf359e7f
There was a problem fetching the pipeline summary.
Commit
cf359e7f
authored
7 years ago
by
Eric S. Raymond
Browse files
Options
Downloads
Patches
Plain Diff
Restore build under clang.
parent
343448b7
No related branches found
No related tags found
Loading
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wscript
+6
-5
6 additions, 5 deletions
wscript
with
6 additions
and
5 deletions
wscript
+
6
−
5
View file @
cf359e7f
...
...
@@ -525,11 +525,12 @@ int main(int argc, char **argv) {
# used on macOS, FreeBSD,
# FORTIFY needs LTO to work well
if ctx.env.DEST_OS not in ["darwin", "freebsd"]:
# -flto breaks tests on macOS
ctx.env.CFLAGS = [
"-fsanitize=cfi", # hardening
"-fsanitize=safe-stack", # hardening
] + ctx.env.CFLAGS
# -flto and friends breaks tests on macOS
#ctx.env.CFLAGS = [
# "-flto"
# "-fsanitize=cfi", # hardening
# "-fsanitize=safe-stack", # hardening
# ] + ctx.env.CFLAGS
ctx.env.LDFLAGS += [
"-Wl,-z,relro", # hardening, marks some section read only,
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment