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

Commit c80fae6e authored by Bernhard Rosenkränzer's avatar Bernhard Rosenkränzer
Browse files

frameworks/native/opengl: Fix build with gcc 4.8



In gcc 4.8, the warning for unused parameters (such as JNIEnv* pointers
in JNI functions that don't need it) is enabled by default - causing
-Werror to break the build.

Change-Id: Ib91721f2cb9912b79c2ac19b4210b1309b08304f
Signed-off-by: default avatarBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
parent cd91024c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -30,7 +30,7 @@ include $(CLEAR_VARS)
# Optional tag would mean it doesn't get installed by default
# Optional tag would mean it doesn't get installed by default
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_TAGS := optional


LOCAL_CFLAGS := -Werror
LOCAL_CFLAGS := -Werror -Wno-error=unused-parameter


LOCAL_SRC_FILES:= \
LOCAL_SRC_FILES:= \
  gl_code.cpp
  gl_code.cpp
+1 −1
Original line number Original line Diff line number Diff line
@@ -30,7 +30,7 @@ include $(CLEAR_VARS)
# Optional tag would mean it doesn't get installed by default
# Optional tag would mean it doesn't get installed by default
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_TAGS := optional


LOCAL_CFLAGS := -Werror
LOCAL_CFLAGS := -Werror -Wno-error=unused-parameter


LOCAL_SRC_FILES:= \
LOCAL_SRC_FILES:= \
  gl_code.cpp
  gl_code.cpp
+1 −1
Original line number Original line Diff line number Diff line
@@ -33,7 +33,7 @@ include $(CLEAR_VARS)
# Optional tag would mean it doesn't get installed by default
# Optional tag would mean it doesn't get installed by default
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_TAGS := optional


LOCAL_CFLAGS := -Werror
LOCAL_CFLAGS := -Werror -Wno-error=unused-parameter


LOCAL_SRC_FILES:= \
LOCAL_SRC_FILES:= \
  gl_code.cpp
  gl_code.cpp
+1 −1
Original line number Original line Diff line number Diff line
@@ -30,7 +30,7 @@ include $(CLEAR_VARS)
# Optional tag would mean it doesn't get installed by default
# Optional tag would mean it doesn't get installed by default
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_TAGS := optional


LOCAL_CFLAGS := -Werror
LOCAL_CFLAGS := -Werror -Wno-error=unused-parameter


LOCAL_SRC_FILES:= \
LOCAL_SRC_FILES:= \
  gl_code.cpp
  gl_code.cpp