summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 09:47:03 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 09:47:03 +0000
commit854fece86dce2de112b2fee8c4d3d1078d94e0ef (patch)
tree2c5380eb55aac3c615b9fc13072d06c0e9cc13b3 /Makefile
parentb94bfaf56130e26f2bb2761754adae6decbb43bc (diff)
downloadldetect-854fece86dce2de112b2fee8c4d3d1078d94e0ef.tar
ldetect-854fece86dce2de112b2fee8c4d3d1078d94e0ef.tar.gz
ldetect-854fece86dce2de112b2fee8c4d3d1078d94e0ef.tar.bz2
ldetect-854fece86dce2de112b2fee8c4d3d1078d94e0ef.tar.xz
ldetect-854fece86dce2de112b2fee8c4d3d1078d94e0ef.zip
use visibility in order to enforce exported ABI and to reduce code size
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5c11ad0..20973e4 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ binaries = lspcidrake
lib_objs = common.o pciusb.o pci.o usb.o pciclass.o usbclass.o dmi.o
lib_major = libldetect.so.$(LIB_MAJOR)
libraries = libldetect.so $(lib_major) $(lib_major).$(LIB_MINOR) libldetect.a
-CFLAGS = -Wall -W -Wstrict-prototypes -Os -fPIC
+CFLAGS = -Wall -W -Wstrict-prototypes -Os -fPIC -fvisibility=hidden
RPM ?= $(HOME)/rpm