]> git.pld-linux.org Git - packages/openh264.git/blob - x32-asm.patch
b3debd9b4a3e3fa084880e6fc9a646e944a932bb
[packages/openh264.git] / x32-asm.patch
1 --- openh264-1.4.0/build/platform-linux.mk~     2015-03-05 10:25:12.000000000 +0100
2 +++ openh264-1.4.0/build/platform-linux.mk      2015-04-26 11:54:05.533650907 +0200
3 @@ -6,7 +6,11 @@
4  LDFLAGS += -lpthread
5  ifeq ($(ASM_ARCH), x86)
6  ifeq ($(ENABLE64BIT), Yes)
7 +ifeq ($(IS_X32), Yes)
8 +ASMFLAGS += -f elfx32
9 +else
10  ASMFLAGS += -f elf64
11 +endif
12  else
13  ASMFLAGS += -f elf
14  endif
15 --- openh264-1.4.0/codec/common/x86/asm_inc.asm~        2015-03-05 10:25:12.000000000 +0100
16 +++ openh264-1.4.0/codec/common/x86/asm_inc.asm 2015-04-26 11:58:16.516975386 +0200
17 @@ -122,6 +122,10 @@
18  SECTION .note.GNU-stack noalloc noexec nowrite progbits ; Mark the stack as non-executable
19  %endif
20  
21 +%ifidn __OUTPUT_FORMAT__,elfx32
22 +SECTION .note.GNU-stack noalloc noexec nowrite progbits ; Mark the stack as non-executable
23 +%endif
24 +
25  %define arg1 rdi
26  %define arg2 rsi
27  %define arg3 rdx
This page took 0.057394 seconds and 2 git commands to generate.