Skip to content

Commit

Permalink
Add flags
Browse files Browse the repository at this point in the history
  • Loading branch information
petabyt committed Nov 2, 2024
1 parent 9780df2 commit 82f8cd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ndk/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LIBFUDGE_CORE := $(CAMLIB_CORE) $(addprefix $(LIB)/,fuji.c fuji_usb.c tester.c n
LIB_FILES := main.c backend.c scripts.c camlib.c usb.c liveview.c settings.c

LOCAL_MODULE := fudge
LOCAL_CFLAGS := -D ANDROID -Wall -Wshadow -Wcast-qual -Wpedantic -Werror=incompatible-pointer-types -Werror=deprecated-declarations -g
LOCAL_CFLAGS := -D ANDROID -Wall -Wshadow -Wcast-qual -Wpedantic -Werror=incompatible-pointer-types -Werror=deprecated-declarations -g -Werror=return-type -Wextra -pedantic-errors
LOCAL_SRC_FILES := $(LIBFUDGE_CORE) $(LIB_FILES)
LOCAL_C_INCLUDES += $(LOCAL_PATH) $(CAMLIB)/src $(CAMLIB)/src/lua $(LIB) $(LUA)
LOCAL_LDLIBS += -llog -landroid -lEGL -lGLESv2 -lGLESv1_CM
Expand Down
1 change: 1 addition & 0 deletions ndk/liveview.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <ui.h>
#include "app.h"
#include "backend.h"
#include <android.h>
#include "fuji.h"

#define JPEG_LIB_VERSION 62
Expand Down

0 comments on commit 82f8cd9

Please sign in to comment.