Lines 1266-1277
with only_when('--enable-compile-environment'):
Link Here
|
1266 |
def default_elfhack(release): |
1266 |
def default_elfhack(release): |
1267 |
return bool(release) |
1267 |
return bool(release) |
1268 |
|
1268 |
|
1269 |
with only_when(has_elfhack): |
1269 |
option('--disable-elf-hack', default=default_elfhack, |
1270 |
option('--disable-elf-hack', default=default_elfhack, |
1270 |
help='Disable elf hacks') |
1271 |
help='Disable elf hacks') |
|
|
1272 |
|
1271 |
|
1273 |
set_config('USE_ELF_HACK', |
1272 |
set_config('USE_ELF_HACK', |
1274 |
depends_if('--enable-elf-hack')(lambda _: True)) |
1273 |
depends_if('--enable-elf-hack')(lambda _: True)) |
1275 |
|
1274 |
|
1276 |
|
1275 |
|
1277 |
@depends(check_build_environment) |
1276 |
@depends(check_build_environment) |
1278 |
- |
|
|