Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: flags should not need -, same as std libs #469

Open
0xc0170 opened this issue Jan 5, 2020 · 1 comment
Open

Makefile: flags should not need -, same as std libs #469

0xc0170 opened this issue Jan 5, 2020 · 1 comment
Milestone

Comments

@0xc0170
Copy link
Member

0xc0170 commented Jan 5, 2020

tool_specific:
    gcc_arm:
        misc:
            c_flags:
                - -mfpu=fpv4-sp-d16
                - -mfloat-abi=softfp
                - -g 
                - -ggdb
                - -Os 
                - -Wall 
                - -fno-strict-aliasing
                - -ffunction-sections 
                - -fdata-sections 
                - -fno-exceptions 
                - -fno-delete-null-pointer-checks
                - -fmessage-length=0 
                - -fno-builtin 
                - -mthumb
                - -mcpu=cortex-m4
                - -MMD
                - -MP

vs

            standard_libraries:
                - m
                - gcc
                - c
                - nosys

this should be without -, as we parse them and add -

@0xc0170 0xc0170 added this to the v0.10 milestone Jan 5, 2020
@flit
Copy link
Contributor

flit commented Mar 26, 2020

But what about options that begin with --? Or toolchains that have options that don't begin with a dash, both those that start with / and no prefix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants