Skip to content

Use -O3 -g0 only when CFLAGS is not defined in env#9

Open
hkhonming wants to merge 1 commit intoXilinx:xlnx_rel_v2022.1from
hkhonming:do_not_hardcode_cflags
Open

Use -O3 -g0 only when CFLAGS is not defined in env#9
hkhonming wants to merge 1 commit intoXilinx:xlnx_rel_v2022.1from
hkhonming:do_not_hardcode_cflags

Conversation

@hkhonming
Copy link

Hi,

The current Makefile hardcoded -O3 and -g0 which will strip debug symbols and causing some trouble in some packaging system.

Suggest to follow CFLAGS in the environment if it is defined by the build system.

Regards,
Hon-Ming

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

Successfully merging this pull request may close these issues.

1 participant