Changeset 98231 in vbox
- Timestamp:
- Jan 23, 2023 11:04:51 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155421
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/libvorbis-1.3.7/Makefile.kmk
r98103 r98231 31 31 32 32 # 33 # Need to drop some assembly flags and add some C flags (gcc) present in34 # VBoxR3DllNonPedantic. So, create or own template deriving from it.35 #36 # Note! We ASSUME that see is available here (doesn't build cleanly on 32-bit37 # linux without this assumption). Too bad for anyone with ancient CPUs.38 #39 TEMPLATE_VBOXLIBVORBIS = Template for adjusting assembler and C compiler flags.40 TEMPLATE_VBOXLIBVORBIS_EXTENDS = VBoxR3DllNonPedanticFast41 ifeq ($(KBUILD_TARGET),win)42 TEMPLATE_VBOXLIBVORBIS_ASFLAGS.amd64 = $(filter-out -Worphan-labels -f win64, $(TEMPLATE_VBoxR3DllNonPedanticFast_ASFLAGS.amd64)) \43 -f x6444 else45 TEMPLATE_VBOXLIBVORBIS_CFLAGS = $(filter-out $(VBOX_GCC_fvisibility-hidden), $(TEMPLATE_VBoxR3DllNonPedanticFast_CFLAGS))46 TEMPLATE_VBOXLIBVORBIS_CFLAGS.amd64 = $(TEMPLATE_VBoxR3DllNonPedanticFast_CFLAGS.amd64) -msse # Needed?47 TEMPLATE_VBOXLIBVORBIS_CFLAGS.x86 = $(TEMPLATE_VBoxR3DllNonPedanticFast_CFLAGS.x86) -msse48 TEMPLATE_VBOXLIBVORBIS_ASFLAGS.amd64 = $(filter-out -Worphan-labels, $(TEMPLATE_VBoxR3DllNonPedanticFast_ASFLAGS.amd64))49 TEMPLATE_VBOXLIBVORBIS_ASFLAGS.x86 = $(filter-out -Worphan-labels, $(TEMPLATE_VBoxR3DllNonPedanticFast_ASFLAGS.x86))50 endif51 52 53 #54 33 # The VBox libvorbis shared library. 55 34 # 56 35 LIBRARIES += VBox-libvorbis 57 VBox-libvorbis_TEMPLATE := VBOXLIBVORBIS 58 36 VBox-libvorbis_TEMPLATE := VBoxR3DllNonPedanticFast 37 ifn1of ($(KBUILD_TARGET), win) # Include our own config.h. Not required on Windows. 38 VBox-libvorbis_DEFS := HAVE_CONFIG_H 39 endif 59 40 VBox-libvorbis_INCS := \ 60 41 . \ … … 62 43 lib \ 63 44 ../libogg-1.3.5/include 64 65 # Include our own config.h. Not required on Windows.66 ifn1of ($(KBUILD_TARGET), win)67 VBox-libvorbis_DEFS += HAVE_CONFIG_H68 endif69 70 45 VBox-libvorbis_SOURCES := \ 71 46 lib/mdct.c \
Note:
See TracChangeset
for help on using the changeset viewer.