Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[libmce-glib] Ignore GLib deprecation warnings. JB#43321
Apparently, the only way to get rid of "warning: G_ADD_PRIVATE" with
latest GLib is to completely disable all Glib deprecation warnings.
  • Loading branch information
monich committed Mar 8, 2020
1 parent 488a3f5 commit fa71879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -68,6 +68,7 @@ CC = $(CROSS_COMPILE)gcc
endif

LD = $(CC)
DEFINES += -DGLIB_DISABLE_DEPRECATION_WARNINGS
WARNINGS = -Wall -Wno-unused-parameter -Wno-multichar
INCLUDES = -I$(INCLUDE_DIR) -I$(GEN_DIR)
BASE_FLAGS = -fPIC $(CFLAGS)
Expand Down Expand Up @@ -185,7 +186,7 @@ $(DEBUG_LINK):
$(RELEASE_LINK):
ln -sf $(LIB) $@

$(PKGCONFIG): $(LIB_NAME).pc.in
$(PKGCONFIG): $(LIB_NAME).pc.in Makefile
sed -e 's/\[version\]/'$(PCVERSION)/g $< > $@

#
Expand Down

0 comments on commit fa71879

Please sign in to comment.