Overview
Comment: | Add -march=i486 to OBJCFLAGS in objfw-config if required. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0ec98003aa598c2b785e9c71a868bb6e |
User & Date: | js on 2010-01-30 11:58:10 |
Other Links: | manifest | tags |
Context
2010-01-30
| ||
12:00 | Only install atomic.h if atomic ops are available. check-in: e31d209120 user: js tags: trunk | |
11:58 | Add -march=i486 to OBJCFLAGS in objfw-config if required. check-in: 0ec98003aa user: js tags: trunk | |
11:56 | Nicer checking for atomic ops. check-in: 5950e1c6a6 user: js tags: trunk | |
Changes
Modified configure.ac from [899b5f2c89] to [1ffe9fea5d].
︙ | |||
205 206 207 208 209 210 211 212 213 214 215 216 217 218 | 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | + | j = __sync_sub_and_fetch(&i, 1); while (!__sync_bool_compare_and_swap(&i, 0, 1)); ], [ AC_MSG_RESULT(yes, with -march=i486) atomic_ops="gcc builtins (with -march=i486)" AC_DEFINE(OF_HAVE_GCC_ATOMIC_OPS, 1, [Whether gcc atomic operations are available]) AC_SUBST(ATOMIC_OBJCFLAGS, "-march=i486") ], [ AC_MSG_RESULT(no) OBJCFLAGS="$old_OBJCFLAGS"])]) if test x"$atomic_ops" = x"none"; then AC_CHECK_HEADER(libkern/OSAtomic.h, [ atomic_ops="libkern/OSAtomic.h" |
︙ |
Modified objfw-config.in from [399aecd461] to [d9d8aa0cc7].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - + | #!/bin/sh prefix="@prefix@" exec_prefix="@exec_prefix@" libdir="@libdir@" CFLAGS="" CPPFLAGS="-I@includedir@" CXXFLAGS="" OBJCFLAGS="-fexceptions -fobjc-exceptions -fconstant-string-class=OFConstString" |
︙ |