• Dmitry Safonov's avatar
    make/x86: get cflags for ia32 from compel tool · 3c85c535
    Dmitry Safonov authored
      I think, we could transpher also `-m elf_i386' and `-m32' to
    compel output - but only in case if we will not support
    native x86_32 in compel (as they are wrong for native build).
    Or introduce something like compat_ia32 in compel option, not sure.
    Left in makefile for a while.
      Also it would be good to remove $(LD_R) in makefile and use
    compel output for ldflags, but that will be valid only when compel
    will support arm arch.
    
    Fixes (with the following patches):
      GEN      criu/pie/parasite-compat-blob.h
    parasite_compat_blob: Error (compel/handle-elf-32.c:322): Unexpected undefined symbol: `__stack_chk_fail'. External symbol in PIE?
    
    Cc: Cyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    3c85c535
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...