mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 18:56:25 +00:00
fix detection of var_attributes_section_seg on OSX
This commit is contained in:
parent
f1a4584e41
commit
dbf49d8a81
@ -92,8 +92,8 @@ AC_DEFUN([AX_GCC_VAR_ATTRIBUTE], [
|
||||
],
|
||||
[section_seg], [
|
||||
int foo __attribute__((section("__DATA,name"))) = 0;
|
||||
extern __start_name[] __asm("section$start$__DATA$__name");
|
||||
extern __stop_name[] __asm("section$stop$__DATA$__name");
|
||||
extern int __start_name[] __asm("section$start$__DATA$__name");
|
||||
extern int __stop_name[] __asm("section$stop$__DATA$__name");
|
||||
],
|
||||
[tls_model], [
|
||||
__thread int bar1 __attribute__(($1("global-dynamic")));
|
||||
|
Loading…
Reference in New Issue
Block a user