Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67dc3356 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "libfusesideload: Clean up the CFLAGS for the module." am: 416c55cf

am: 74812187

Change-Id: Icca59707002ef3d0e710f9601f3fe6efa93b398e
parents 7ee4b7dd 74812187
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -22,11 +22,10 @@ RECOVERY_FSTAB_VERSION := 2
# ===============================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := fuse_sideload.cpp
LOCAL_CLANG := true
LOCAL_CFLAGS := -O2 -g -DADB_HOST=0 -Wall -Wno-unused-parameter -Werror
LOCAL_CFLAGS := -Wall -Werror
LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
LOCAL_MODULE := libfusesideload
LOCAL_STATIC_LIBRARIES := libcutils libc libcrypto
LOCAL_STATIC_LIBRARIES := libcrypto
include $(BUILD_STATIC_LIBRARY)

# libmounts (static library)
+4 −2
Original line number Diff line number Diff line
@@ -226,11 +226,13 @@ static int handle_open(void* /* data */, struct fuse_data* fd, const struct fuse
    return NO_STATUS;
}

static int handle_flush(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) {
static int handle_flush(void* /* data */, struct fuse_data* /* fd */,
                        const struct fuse_in_header* /* hdr */) {
    return 0;
}

static int handle_release(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) {
static int handle_release(void* /* data */, struct fuse_data* /* fd */,
                          const struct fuse_in_header* /* hdr */) {
    return 0;
}