mescc: Ignore -fno-stack-protector.

* module/mescc.scm (parse-opts): Ignore it.
This commit is contained in:
Jan Nieuwenhuizen 2019-12-02 18:27:32 +01:00
parent 9c7d0ece4d
commit 2659caeffa
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,7 @@
(debug-info (single-char #\g)) (debug-info (single-char #\g))
(dumpmachine) (dumpmachine)
(fno-builtin) (fno-builtin)
(fno-stack-protector)
(help (single-char #\h)) (help (single-char #\h))
(include (single-char #\I) (value #t)) (include (single-char #\I) (value #t))
(library-dir (single-char #\L) (value #t)) (library-dir (single-char #\L) (value #t))
@ -123,6 +124,7 @@ Options:
Ignored for GCC compatibility Ignored for GCC compatibility
-fno-builtin -fno-builtin
-fno-stack-protector
-no-pie -no-pie
-nostdinc -nostdinc
-static -static
@ -143,6 +145,7 @@ General help using GNU software: <http://gnu.org/gethelp/>
(define (mescc:main args) (define (mescc:main args)
(let* ((single-dash-options '("-dumpmachine" (let* ((single-dash-options '("-dumpmachine"
"-fno-builtin" "-fno-builtin"
"-fno-stack-protector"
"-no-pie" "-no-pie"
"-nodefaultlibs" "-nodefaultlibs"
"-nostartfiles" "-nostartfiles"