VirtualBox

Ignore:
Timestamp:
Feb 12, 2024 3:57:56 PM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161613
Message:

libpng-1.6.42: Applied and adjusted our libpng changes to 1.6.42. bugref:8515

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/libpng-1.6.42/scripts/makefile.gcc

    r96425 r103316  
    11# makefile for libpng using gcc (generic, static library)
     2# Copyright (C) 2000, 2014, 2019-2022 Cosmin Truta
    23# Copyright (C) 2008, 2014 Glenn Randers-Pehrson
    3 # Copyright (C) 2000, 2014, 2019 Cosmin Truta
    44# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
    55#
     
    2020RM_F = rm -f
    2121
     22# Compiler and linker flags
     23NOHWOPT = -DPNG_ARM_NEON_OPT=0 -DPNG_MIPS_MSA_OPT=0 \
     24        -DPNG_POWERPC_VSX_OPT=0 -DPNG_INTEL_SSE_OPT=0
    2225WARNMORE = -Wwrite-strings -Wpointer-arith -Wshadow \
    2326        -Wmissing-declarations -Wtraditional -Wcast-align \
    2427        -Wstrict-prototypes -Wmissing-prototypes # -Wconversion
    25 CPPFLAGS = -I$(ZLIBINC) # -DPNG_DEBUG=5
    26 CFLAGS = -W -Wall -O2 # $(WARNMORE) -g
    27 LDFLAGS = -L$(ZLIBLIB)
     28DEFS = $(NOHWOPT)
     29CPPFLAGS = -I$(ZLIBINC) $(DEFS) # -DPNG_DEBUG=5
     30CFLAGS = -O2 -Wall -Wextra -Wundef # $(WARNMORE) -g
     31LDFLAGS = -L$(ZLIBLIB) # -g
    2832LIBS = -lz -lm
    2933
     
    3539PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt
    3640
    37 # Variables
    38 OBJS =  png.o pngerror.o pngget.o pngmem.o pngpread.o \
    39         pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o \
    40         pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o
     41# File lists
     42OBJS = png.o pngerror.o pngget.o pngmem.o pngpread.o \
     43       pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o \
     44       pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o
    4145
    4246# Targets
Note: See TracChangeset for help on using the changeset viewer.

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