fix atikms LTO build

git-svn-id: svn://kolibrios.org@2017 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2011-07-25 10:07:58 +00:00
parent 7fc492a510
commit f070422400

View File

@ -1042,7 +1042,12 @@ int _stdcall display_handler(ioctl_t *io)
static char log[256]; static char log[256];
static pci_dev_t device; static pci_dev_t device;
u32_t drvEntry(int action, char *cmdline) u32_t
#if defined(__GNUC__) && __GNUC__ >= 4
// has sense only if -fwhole-program is used, like Makefile.lto
__attribute__((externally_visible))
#endif
drvEntry(int action, char *cmdline)
{ {
struct radeon_device *rdev = NULL; struct radeon_device *rdev = NULL;