summaryrefslogtreecommitdiff
path: root/libusb/Makefile.am
diff options
context:
space:
mode:
authorAlex Vatchenko <alex@fabulatech.com>2009-05-28 15:58:50 -0400
committerDaniel Drake <dsd@gentoo.org>2009-05-28 16:06:24 -0400
commitb501795985a23109f176d296e7b544b4c6354528 (patch)
treeeb141c0bdae20ea212dd19aacad88498a598820f /libusb/Makefile.am
parent00bb2805e994887f0a754a825c3ce03d22393386 (diff)
downloadlibusb-b501795985a23109f176d296e7b544b4c6354528.tar.gz
pre-gcc-3.4 compatibility
The -fvisibility and -Wno-pointer-sign options are not available on old GCC versions.
Diffstat (limited to 'libusb/Makefile.am')
-rw-r--r--libusb/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/Makefile.am b/libusb/Makefile.am
index 3551603..a2be46c 100644
--- a/libusb/Makefile.am
+++ b/libusb/Makefile.am
@@ -14,7 +14,7 @@ OS_SRC = $(DARWIN_USB_SRC)
AM_CFLAGS_EXT = -no-cpp-precomp
endif
-libusb_1_0_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) -pthread
+libusb_1_0_la_CFLAGS = $(VISIBILITY_CFLAGS) $(AM_CFLAGS) -pthread
libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC)
hdrdir = $(includedir)/libusb-1.0