prboom_2.5.0.bb: fix compilation failure due to undefined references.
authorGraham Gower <graham.gower@gmail.com>
Sun, 10 Oct 2010 20:23:32 +0000 (20:23 +0000)
committerKhem Raj <raj.khem@gmail.com>
Thu, 14 Oct 2010 04:30:27 +0000 (21:30 -0700)
commite5a8d6363cc250e22aa68c8fd0086a39bc784d6d
tree3d58c4773cf7af23178347b7077221aa52325100
parent0c1efbb0e1c67d08b5d878af041d5fd46d6952bd
prboom_2.5.0.bb: fix compilation failure due to undefined references.

Need to #define _GNU_SOURCE for sched.h to define CPU_ZERO/CPU_SET.

 SDL/libsdldoom.a(i_system.o): In function `I_SetAffinityMask':
| i_system.c:(.text+0x7d4): undefined reference to `CPU_ZERO'
| i_system.c:(.text+0x7e8): undefined reference to `CPU_SET'
| collect2: ld returned 1 exit status

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/prboom/prboom-2.5.0/gnu_source_for_sched_h.patch [new file with mode: 0644]
recipes/prboom/prboom_2.5.0.bb