Xilinx / vcu-ctrl-sw

Other
38 stars 30 forks source link

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

Open hkhonming opened 2 years ago

hkhonming commented 2 years ago

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