Lines 112-119
Link Here
|
112 |
#On i386, gcc runs out of general purpose registers when |
112 |
#On i386, gcc runs out of general purpose registers when |
113 |
#trying to compile a debug version with the default flags. |
113 |
#trying to compile a debug version with the default flags. |
114 |
.if ${PORT_OPTIONS:MDEBUG} |
114 |
.if ${PORT_OPTIONS:MDEBUG} |
|
|
115 |
WITH_DEBUG= yes |
116 |
CONFIGURE_ARGS=+ --enable-debug |
115 |
.if ${ARCH} == "i386" |
117 |
.if ${ARCH} == "i386" |
116 |
DEBUG_FLAGS= -g -O -fomit-frame-pointer |
118 |
DEBUG_FLAGS= -g -fomit-frame-pointer |
117 |
.endif |
119 |
.endif |
118 |
.else |
120 |
.else |
119 |
.if ${PORT_OPTIONS:MOCFLAGS} |
121 |
.if ${PORT_OPTIONS:MOCFLAGS} |
Lines 128-133
Link Here
|
128 |
MPLAYER_CLANG_SUPPORTED_ARCH= yes |
130 |
MPLAYER_CLANG_SUPPORTED_ARCH= yes |
129 |
.endif |
131 |
.endif |
130 |
|
132 |
|
|
|
133 |
# Supported architectures for runtime CPU detection |
134 |
.if ${ARCH} == "amd64" || ${ARCH} == "i386" || ${ARCH} == "ppc" |
135 |
MPLAYER_RTCPU_SUPPORTED_ARCH= yes |
136 |
.endif |
137 |
|
131 |
# Unsupported architectures for inline assembly |
138 |
# Unsupported architectures for inline assembly |
132 |
.if ${ARCH} == "ppc" |
139 |
.if ${ARCH} == "ppc" |
133 |
CONFIGURE_ARGS+= --disable-asm |
140 |
CONFIGURE_ARGS+= --disable-asm |
Lines 137-148
Link Here
|
137 |
.if ${ARCH} == "sparc64" |
144 |
.if ${ARCH} == "sparc64" |
138 |
BROKEN= Does not compile on sparc64 |
145 |
BROKEN= Does not compile on sparc64 |
139 |
.endif |
146 |
.endif |
140 |
.if ${ARCH} == "ia64" |
|
|
141 |
BROKEN= Does not detect CPU correctly on ia64 |
142 |
.endif |
143 |
|
147 |
|
144 |
|
148 |
.if ${PORT_OPTIONS:MRTCPU} \ |
145 |
.if ${PORT_OPTIONS:MRTCPU} |
149 |
&& defined(MPLAYER_RTCPU_SUPPORTED_ARCH) |
146 |
CONFIGURE_ARGS+=--enable-runtime-cpudetection |
150 |
CONFIGURE_ARGS+=--enable-runtime-cpudetection |
147 |
.endif |
151 |
.endif |
148 |
|
152 |
|