-
-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyinstaller: update and fix to v6 (#4437)
* pyinstaller: update and fix to v6 * update url Co-authored-by: Antonio <vozaanthony@gmail.com> * list of licenses Co-authored-by: Antonio <vozaanthony@gmail.com> --------- Co-authored-by: Antonio <vozaanthony@gmail.com>
- Loading branch information
Showing
2 changed files
with
65 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/bootloader/wscript | ||
+++ b/bootloader/wscript | ||
@@ -518,7 +518,7 @@ | ||
# manipulation functions. | ||
if ctx.options.debug: | ||
ctx.env.append_value('CFLAGS', '-U_FORTIFY_SOURCE') | ||
- elif ctx.env.CC_NAME == 'gcc': | ||
+ elif ctx.env.CC_NAME == 'gcc' and '-Wp,-D_FORTIFY_SOURCE=3' not in ctx.env['CFLAGS']: | ||
# Undefine this macro if already defined by default to avoid "macro redefinition" errors. | ||
ctx.env.append_value('CFLAGS', '-U_FORTIFY_SOURCE') |