Skip to content

Commit

Permalink
gpt: Add -Wno-format-security
Browse files Browse the repository at this point in the history
The existing -Wno-format requires it:

error: -Wformat-security ignored without -Wformat [-Werror=format-security]

Change-Id: I9e4177df3437f582b7c71fdaf364ab3b7ced595e
Signed-off-by: D. Andrei Măceș <[email protected]>
  • Loading branch information
airend authored and Dees-Troy committed Mar 19, 2019
1 parent 38d2d52 commit 08f91e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LOCAL_SRC_FILES = \
gpt.c \
gptcrc32.c

LOCAL_CFLAGS := -Wno-format
LOCAL_CFLAGS := -Wno-format -Wno-format-security

LOCAL_SHARED_LIBRARIES := libc
include $(BUILD_SHARED_LIBRARY)

0 comments on commit 08f91e8

Please sign in to comment.