Ignore:
Timestamp:
Feb 21, 2006, 12:26:17 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
3937eff
Parents:
10e90e4
Message:

r621@server (orig r619): ryan | 2005-08-07 03:50:46 -0700
Fix issues with sys/types.h and asm-x86_64/types.h


Comment from script


# ARGHHH, asm-x86_64/types.h conflicts with sys/types.h with regards to
# s64 and u64. llh defines them as long long, glibc as long.
# On amd64 long and long long are both 8bytes. Here we edit asm_x86_64
# to define s64 and u64 as type long


What a pain in the arse......


Note: This should also make the hack patch to DirectFB redundant.



File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/cross-scripts/cross-san-kern-hdrs.sh

    r10e90e4 rdef3913  
    3838fi
    3939KERN_HDR_DIR=${INSTALL_PREFIX}/include
     40
     41# ARGHHH, asm-x86_64/types.h conflicts with sys/types.h with regards to
     42# __s64 and __u64. llh defines them as long long, glibc as long.
     43# On amd64 long and long long are both 8bytes. Here we edit asm_x86_64
     44# to define __s64 and __u64 as type long
     45sed -i -e 's@long long@long@g' \
     46   include/asm-x86_64/types.h
    4047
    4148# If we are doing a biarch build we will need the kernel headers for
Note: See TracChangeset for help on using the changeset viewer.