Skip to content

Commit 2799d70

Browse files
author
Peter Stuge
committed
configure.ac: Move VISIBILITY_CFLAGS into AM_CFLAGS
1 parent 62f9a64 commit 2799d70

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

configure.ac

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,8 @@ AM_CONDITIONAL([HAVE_SIGACTION], [test "x$have_sigaction" = "xyes"])
205205
AC_CHECK_HEADERS([sys/time.h])
206206
AC_CHECK_FUNCS(gettimeofday)
207207

208-
AM_CFLAGS="-std=gnu99 -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration $nopointersign_cflags -Wshadow ${THREAD_CFLAGS}"
208+
AM_CFLAGS="-std=gnu99 -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration $nopointersign_cflags -Wshadow ${THREAD_CFLAGS} ${VISIBILITY_CFLAGS}"
209209

210-
AC_SUBST(VISIBILITY_CFLAGS)
211210
AC_SUBST(AM_CFLAGS)
212211
AC_SUBST(LTLDFLAGS)
213212

libusb/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ else
3737
THREADS_SRC = os/threads_windows.h os/threads_windows.c
3838
endif
3939

40-
libusb_1_0_la_CFLAGS = $(VISIBILITY_CFLAGS) $(AM_CFLAGS) \
40+
libusb_1_0_la_CFLAGS = $(AM_CFLAGS) \
4141
-DLIBUSB_DESCRIBE=\"`git --git-dir "$(top_srcdir)/.git" describe --tags 2>/dev/null`\"
4242
libusb_1_0_la_LDFLAGS = $(LTLDFLAGS)
4343
libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC) \

0 commit comments

Comments
 (0)