mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-16 17:01:37 +00:00
based on the develop branch -> 6af07cd39cfa06ec8eb4d6182c7d7923236c2dbf Signed-off-by: John Crispin <john@phrozen.org>
21 lines
569 B
Diff
21 lines
569 B
Diff
Index: opensync-1.4.0.1/build/flags.mk
|
|
===================================================================
|
|
--- opensync-1.4.0.1.orig/build/flags.mk
|
|
+++ opensync-1.4.0.1/build/flags.mk
|
|
@@ -23,12 +23,13 @@
|
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
# C FLAGS
|
|
-CFLAGS := -Wall -Wextra -Werror
|
|
+CFLAGS ?=
|
|
+CFLAGS += -Wall -Wextra -Werror
|
|
CFLAGS += -Wno-unused-parameter
|
|
CFLAGS += -Wno-unused-label
|
|
CFLAGS += -Wno-strict-aliasing
|
|
CFLAGS += -fasynchronous-unwind-tables
|
|
-
|
|
+CFLAGS += $(OWRT_CFLAGS)
|
|
DEBUGFLAGS := -g
|
|
OPTIMIZE :=
|
|
|