libaom uses different PIC check

This commit is contained in:
DubbleClick
2025-06-27 19:37:10 +07:00
parent 383045d1c0
commit e162a0ecd6
2 changed files with 1 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ trait libaom
*/ */
protected function build(): void protected function build(): void
{ {
putenv('libaom_CFLAGS=-D__PIE__');
UnixCMakeExecutor::create($this) UnixCMakeExecutor::create($this)
->setBuildDir("{$this->source_dir}/builddir") ->setBuildDir("{$this->source_dir}/builddir")
->addConfigureArgs('-DAOM_TARGET_CPU=generic') ->addConfigureArgs('-DAOM_TARGET_CPU=generic')

View File

@@ -25,7 +25,6 @@ trait ncurses
'--disable-widec', '--disable-widec',
'--with-normal', '--with-normal',
'--with-ticlib', '--with-ticlib',
'--with-pthread',
'--without-tests', '--without-tests',
'--without-dlsym', '--without-dlsym',
'--without-debug', '--without-debug',