Overview
| Comment: | Add --arc to objfw-compile and objfw-config. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
5d2b8046010c0c1884dc7c74f5c42225 |
| User & Date: | js on 2012-08-06 20:46:34 |
| Other Links: | manifest | tags |
Context
|
2012-08-07
| ||
| 08:35 | Add autorelease.h and export functions. (check-in: 7fbf13845b user: js tags: trunk) | |
|
2012-08-06
| ||
| 20:46 | Add --arc to objfw-compile and objfw-config. (check-in: 5d2b804601 user: js tags: trunk) | |
| 20:27 | Make class_isMetaClass() ARC-compatible. (check-in: 0b32d65e0c user: js tags: trunk) | |
Changes
Modified utils/objfw-compile from [4007cbbe1d] to [66678c5c9b].
| ︙ | ︙ | |||
97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
export LIB_MINOR="${1#*.}"
lib="yes"
OBJCFLAGS="$OBJCFLAGS $($OBJFW_CONFIG --lib-cflags)"
out_prefix="$($OBJFW_CONFIG --lib-prefix)"
out_suffix="$($OBJFW_CONFIG --lib-suffix)"
;;
--builddir)
shift
builddir="$1"
;;
-D)
shift
CPPFLAGS="$CPPFLAGS -D$1"
| > > > | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
export LIB_MINOR="${1#*.}"
lib="yes"
OBJCFLAGS="$OBJCFLAGS $($OBJFW_CONFIG --lib-cflags)"
out_prefix="$($OBJFW_CONFIG --lib-prefix)"
out_suffix="$($OBJFW_CONFIG --lib-suffix)"
;;
--arc)
OBJCFLAGS="$OBJCFLAGS $($OBJFW_CONFIG --arc)"
;;
--builddir)
shift
builddir="$1"
;;
-D)
shift
CPPFLAGS="$CPPFLAGS -D$1"
|
| ︙ | ︙ |
Modified utils/objfw-config.in from [7b2042691a] to [3c9051eb2a].
| ︙ | ︙ | |||
69 70 71 72 73 74 75 76 77 78 79 80 81 82 | case "$1" in --all) printf "%s %s %s " "$CFLAGS" "$CPPFLAGS" "$CXXFLAGS" printf "%s %s " "$OBJCFLAGS" "$LDFLAGS" printf "%s %s " "$LDFLAGS_REEXPORT" "$LDFLAGS_RPATH" printf "%s" "$LIBS" ;; --cflags) printf "%s" "$CFLAGS" ;; --cppflags) printf "%s" "$CPPFLAGS" ;; --cxxflags) | > > > | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | case "$1" in --all) printf "%s %s %s " "$CFLAGS" "$CPPFLAGS" "$CXXFLAGS" printf "%s %s " "$OBJCFLAGS" "$LDFLAGS" printf "%s %s " "$LDFLAGS_REEXPORT" "$LDFLAGS_RPATH" printf "%s" "$LIBS" ;; --arc) printf "%s" "-fobjc-arc -fobjc-arc-exceptions" ;; --cflags) printf "%s" "$CFLAGS" ;; --cppflags) printf "%s" "$CPPFLAGS" ;; --cxxflags) |
| ︙ | ︙ |