Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 29 Jun 2012 17:58:18 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Adjust LDFLAGS for clang targets

For non-debug targets reuse the default LDFLAGS, to make sure -s is
added and libraries under /usr/local/lib and /usr/local/ssl/lib are
preferred (like with other Linux targets)

This also adds -lz to linux-x86-64-clang (only the 3 other clang targets
included -lz) and makes sure all the libraries are specified in the same
sequence as for all other Linux targets.

For debug targets, don't reuse $(LDFLAGS), because of -s, but use all
the -L and -l options from the LDFLAGS in the sequence they are used for
the other Linux targets.

Tested linux-x86-clang and linux-x86-clang-debug only, not the
linux-x86-64-clang* targets.

The -s reduces size of the non-debug version from 1049285 to 941196
bytes (HAVE_NSS not un-commented in Makefile)

Frank

View attachment "0001-Adjust-LDFLAGS-for-clang-targets.patch" of type "text/x-patch" (2793 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.