--- jna-5.13.0/build.xml 2023-05-30 11:38:06.363232087 +0200 +++ jna-5.13.0/build.xml 2023-05-30 15:27:50.875085921 +0200 @@ -370,7 +370,7 @@ - + @@ -440,7 +440,7 @@ - - @@ -596,108 +515,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -781,7 +598,7 @@ - + @@ -1196,7 +1013,7 @@ - - - @@ -1486,7 +1301,6 @@ JNA API Documentation
${header}
${footer} - @@ -1504,13 +1318,14 @@ +
- --- jna-5.13.0/native/Makefile 2023-05-30 11:38:06.515233135 +0200 +++ jna-5.13.0/native/Makefile 2023-05-30 12:04:00.394037184 +0200 @@ -97,7 +97,7 @@ PCFLAGS=-W -Wall -Wno-unused -Wno-parentheses CFLAGS=$(PCFLAGS) $(CFLAGS_EXTRA) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \ -DJNA_JNI_VERSION='"$(JNA_JNI_VERSION)"' -DCHECKSUM='"$(CHECKSUM)"' -LDFLAGS=-o $@ -shared +LDFLAGS=$(RPM_LD_FLAGS) -o $@ -shared ifeq ($(DYNAMIC_LIBFFI),true) CFLAGS += $(shell pkg-config --cflags libffi 2>/dev/null || echo) LIBS += $(shell pkg-config --libs libffi 2>/dev/null || echo -lffi) @@ -356,11 +356,11 @@ GCC_MAJOR_VERSION = $(shell gcc -dumpversion | cut -f 1 -d '.') ifneq ($(GCC_MAJOR_VERSION),4) ifneq ($(GCC_MAJOR_VERSION),3) - LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable -Wno-alloca-larger-than + LOC_CC_OPTS=-Wno-error -Wno-clobbered -Wno-unused-variable -Wno-alloca-larger-than endif endif else - LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable + LOC_CC_OPTS=-Wno-error -Wno-clobbered -Wno-unused-variable endif # Enable 64-bit builds if the arch demands it @@ -486,7 +486,6 @@ $(LIBRARY): $(JNIDISPATCH_OBJS) $(FFI_LIB) $(LD) $(LDFLAGS) $(JNIDISPATCH_OBJS) $(FFI_LIB) $(LIBS) - $(STRIP) $@ $(TESTLIB): $(BUILD)/testlib.o $(LD) $(LDFLAGS) $< $(LIBS)