Changeset 15434 for trunk/x86-headers/gl


Ignore:
Timestamp:
Aug 10, 2012, 4:53:57 AM (9 years ago)
Author:
gb
Message:

Try to account for Debian "multiarch" lossage.
This seems to be able to parse headers (using a gcc-4.0-based ffigen
program) on an x8632 Debian 7.0beta system; need to ensure that it also
does so on platforms not yet suffering from this nonsense.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/x86-headers/gl/C/populate.sh

    r10779 r15434  
    11#!/bin/sh
    2 #CFLAGS="-m64";export CFLAGS
     2ARCH_SUBDIR=i386-linux-gnu
     3CFLAGS="-isystem /usr/include/$ARCH_SUBDIR -m32 -D_GNU_SOURCE $CFLAGS";export CFLAGS
    34rm -rf usr
    45h-to-ffi.sh /usr/include/GL/glx.h
Note: See TracChangeset for help on using the changeset viewer.