VirtualBox

Changeset 98231 in vbox


Ignore:
Timestamp:
Jan 23, 2023 11:04:51 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155421
Message:

libs/libvorbis-1.3.7: Removed unnecessary VBOXLIBVORBIS template - there are no assembly sources. I also don't think there is any SSE requirements and that this was just blindly copied from some other project without proper cleanup. bugref:10348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/libvorbis-1.3.7/Makefile.kmk

    r98103 r98231  
    3131
    3232#
    33 # Need to drop some assembly flags and add some C flags (gcc) present in
    34 # 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-bit
    37 #       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 = VBoxR3DllNonPedanticFast
    41 ifeq ($(KBUILD_TARGET),win)
    42  TEMPLATE_VBOXLIBVORBIS_ASFLAGS.amd64 = $(filter-out -Worphan-labels -f win64, $(TEMPLATE_VBoxR3DllNonPedanticFast_ASFLAGS.amd64)) \
    43         -f x64
    44 else
    45  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) -msse
    48  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 endif
    51 
    52 
    53 #
    5433# The VBox libvorbis shared library.
    5534#
    5635LIBRARIES += VBox-libvorbis
    57 VBox-libvorbis_TEMPLATE   := VBOXLIBVORBIS
    58 
     36VBox-libvorbis_TEMPLATE   := VBoxR3DllNonPedanticFast
     37ifn1of ($(KBUILD_TARGET), win) # Include our own config.h. Not required on Windows.
     38 VBox-libvorbis_DEFS      := HAVE_CONFIG_H
     39endif
    5940VBox-libvorbis_INCS       := \
    6041        . \
     
    6243        lib \
    6344        ../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_H
    68 endif
    69 
    7045VBox-libvorbis_SOURCES    := \
    7146        lib/mdct.c \
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette