]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
android: Suppress self-assign warnings with clang
authorTobias Brunner <tobias@strongswan.org>
Mon, 4 Jun 2018 13:39:25 +0000 (15:39 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 3 Jul 2018 09:31:31 +0000 (11:31 +0200)
These are triggered by the little endian functions in byteorder.h.

src/frontends/android/app/src/main/jni/Android.mk

index a46139421ffd019939945716e2051f4e4b9ff83f..cc6e8e70ca7694a681251f0c706e9fefadf93e05 100644 (file)
@@ -35,6 +35,7 @@ strongswan_CFLAGS := \
        -Wno-strict-aliasing \
        -Wno-unused-parameter \
        -Wno-missing-field-initializers \
+       -Wno-self-assign \
        -DHAVE___BOOL \
        -DHAVE_STDBOOL_H \
        -DHAVE_ALLOCA_H \