jwrdegoede / rtl8189ES_linux

79 stars 92 forks source link

Makefile: move 'EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)' at the end of E… #101

Closed giuliobenetti closed 9 months ago

giuliobenetti commented 1 year ago

…XTRA_FLAGS assignment

At the moment USER_EXTRA_CFLAGS can't override local Makfile EXTRA_CFLAGS since it's assigned at the beginning of the Makefile. For example it's not possible to undefine the hardcoded CONFIG_LITTLE_ENDIAN and this doesn't allow to build these modules for big endian architectures. So let's move the assignment of USER_EXTRA_CFLAGS to EXTRA_CFLAGS after the last EXTRA_CFLAGS assignment.

giuliobenetti commented 9 months ago

Can this patch be applied? There is the same patch on master branch already applied.

Thanks in advance!

CGarces commented 9 months ago

Sorry, I miss this PR!

giuliobenetti commented 9 months ago

Sorry, I miss this PR!

Thank you!