- Don't export symbols from pci(x) and pcmcia.

svn path=/branches/cmake-bringup/; revision=48852
This commit is contained in:
Amine Khaldi 2010-09-23 16:50:00 +00:00
parent d7733b45c3
commit 9c28319873
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ add_library(pci SHARED
pdo.c
pci.rc)
set_target_properties(pci PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys")
set_target_properties(pci PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
target_link_libraries(pci
-lntoskrnl

View file

@ -40,7 +40,7 @@ list(APPEND SOURCE
add_library(pcix SHARED ${CMAKE_CURRENT_BINARY_DIR}/pcix_pci.h.gch ${SOURCE})
set_target_properties(pcix PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys")
set_target_properties(pcix PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
target_link_libraries(pcix
-lntoskrnl

View file

@ -7,7 +7,7 @@ add_library(pcmcia SHARED
pdo.c
pcmcia.rc)
set_target_properties(pcmcia PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys")
set_target_properties(pcmcia PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
target_link_libraries(pcmcia
-lntoskrnl