Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libnux
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Apps
BrainScaleS
libnux
Commits
8d893dce
Commit
8d893dce
authored
6 years ago
by
Philipp Spilger
Browse files
Options
Downloads
Patches
Plain Diff
Fix size check for --build-profile=release
Change-Id: I6d88781c37502a483ad2fb3b96118723166c415e
parent
4c5392d1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wscript
+9
-2
9 additions, 2 deletions
wscript
with
9 additions
and
2 deletions
wscript
+
9
−
2
View file @
8d893dce
...
...
@@ -264,12 +264,19 @@ def build(bld):
def max_size_empty():
stack_protector = bld.all_envs['nux'].LIBNUX_STACK_PROTECTOR_ENABLED[0].lower() == "true"
stack_redzone = bld.all_envs['nux'].LIBNUX_STACK_REDZONE_ENABLED[0].lower() == "true"
build_profile = bld.options.build_profile
if not stack_protector and not stack_redzone:
return 352
if build_profile == 'release':
return 368
else:
return 352
if stack_protector and not stack_redzone:
return 624
if build_profile == 'release':
return 656
else:
return 624
if not stack_protector and stack_redzone:
return 416
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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