mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 10:20:24 +03:00
[build] Fix building on gcc 3
GCC did not support #pragma GCC visibility until version 4.0.
This commit is contained in:
@@ -66,7 +66,9 @@ __asm__ ( ".equ\t" OBJECT_SYMBOL_STR ", 0" );
|
|||||||
* This is a stronger claim than specifying "-fvisibility=hidden",
|
* This is a stronger claim than specifying "-fvisibility=hidden",
|
||||||
* since it also affects symbols marked with "extern".
|
* since it also affects symbols marked with "extern".
|
||||||
*/
|
*/
|
||||||
|
#if __GNUC__ >= 4
|
||||||
#pragma GCC visibility push(hidden)
|
#pragma GCC visibility push(hidden)
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @def DBG
|
/** @def DBG
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user