Commit graph

36 commits

Author SHA1 Message Date
David Kinder
b8b164ea4e Use CFLAGS environment variable to pass additional flags to compiler 2022-05-17 09:57:29 +01:00
David Kinder
ab6625484a Regenerate makefile after Windows makescript change 2022-05-12 19:37:02 +01:00
Andrew Plotkin
5e9ecb0ff9 Undo an accidental windows change. 2022-05-11 20:16:35 -04:00
Andrew Plotkin
d3fd057922 Use "xcrun -show-sdk-path" to determine the SDK path. 2022-05-11 20:12:36 -04:00
David Kinder
08a269126f Remove references to shlwapi.dll, which is no longer needed 2022-05-09 19:14:01 +01:00
Graham Nelson
bb8c1e9327 Merge branch 'master' of https://github.com/ganelson/inweb 2022-05-02 18:47:51 +01:00
Graham Nelson
e19fb0cf96 Added $(CFLAGS) to invocations of clang on macos platforms 2022-05-02 18:46:54 +01:00
Tim Allen
23c6e066bd Use $(CC) as the compiler on Linux.
While other platforms may have a standard compiler that can be hardcoded,
Linux systems may want to switch between gcc and clang, or even a wrapper
script for producing portable static binaries like musl-gcc.

Using the standard $(CC) variable for the compiler name makes it easy to
override the compiler choice without having to modify makefiles.
2022-05-02 00:17:58 +10:00
Graham Nelson
17aa1c34b7 Changed -isysroot to use Xcode Command Line tools, not Xcode.app 2022-04-30 22:38:54 +01:00
Graham Nelson
07ec28d140 Added Apple Silicon support 2022-04-30 17:12:14 +01:00
Graham Nelson
1237824333 Beginning work on better building for Apple Silicon Macs 2022-04-30 11:41:53 +01:00
Philip Chimento
993693dd8c Changes to Linux platform settings
I've decided to make some adjustments to the platform settings after
trying to build RPM, DEB, and Flatpak packages. The various packaging
tools rely on being able to set their own optimization, debugging, and
hardening flags via the CFLAGS and LDFLAGS environment variables, so this
brings in that capability.

Additionally, building in a Flatpak environment requires explicitly
linking with the -pthread flag. I'm not sure why this was implicit before,
but I've added it to the linker macro, as it doesn't hurt to specify it
explicitly in any case.
2022-04-28 10:39:23 -07:00
Philip Chimento
5061faff09
Merge pull request #3 from ptomato/linux-platform-settings
Linux platform settings
2022-04-27 21:01:24 -07:00
Graham Nelson
fd6efb886e Fixed buffer overrun error in regular expression matching 2022-04-26 23:48:42 +01:00
Philip Chimento
86441df336 Platform settings for Linux
This changes the variables in the platform settings to work more like the
ones in the other platforms, and updates their values.
2022-04-25 18:42:56 -07:00
Graham Nelson
d8a4183543 Fixed an undefined behaviour bug appearing only under -O2 optimisation 2022-04-25 23:31:02 +01:00
Graham Nelson
ac37350105 Changed first build methodology 2022-04-24 00:40:37 +01:00
Graham Nelson
517341513a Using new-style gitignore scripts 2022-04-23 14:08:38 +01:00
Graham Nelson
162b0283f3 Migrated to new makescript format 2022-04-22 00:06:45 +01:00
David Kinder
efa1019db2 Changing clang settings to c11, not c99, for Windows 2022-04-11 20:15:12 +01:00
Graham Nelson
a2f8669f9e Changing clang settings to c11, not c99, for MacOS 2022-04-10 23:01:43 +01:00
Graham Nelson
fac68c3d8c Marking Errors::internal_error_handler as _Noreturn 2022-04-10 16:39:42 +01:00
Graham Nelson
69da61fe56 Added ctags support 2021-08-11 12:01:50 +01:00
Toby Nelson
1f2d23e27a Fix for Inform 6 platform environment variable 2021-04-19 15:50:58 +01:00
David Kinder
5a70f521b2 Updated Windows build settings for rsync() implemnentation 2021-03-08 15:37:16 +00:00
David Kinder
ec20240cac Add -Wno-extra-semi-stmt to compiler switches 2020-07-05 12:50:23 +01:00
David Kinder
c55e94e3f4 Initialize mutexes correctly on Windows 2020-07-01 14:14:35 +01:00
Graham Nelson
09ed827b30 Migrated to clang 11 2020-06-27 23:03:14 +01:00
David Kinder
d14e2f8527 Add EXEEXTENSION setting for each platform's executable file extension 2020-06-04 13:23:16 +01:00
Graham Nelson
6b16c162df Fixed omission in abstration of pthreads 2020-06-03 18:34:21 +01:00
Graham Nelson
8deee1569f Translocation 2019-03-10 23:46:11 +00:00
Graham Nelson
5deddbb742 Removed unnecessary inrtps options (now that -font is default) 2019-02-27 19:29:48 +00:00
Graham Nelson
271f98a9f3 Added 64-bit MacOS, fixed some concomitant bugs 2019-02-10 23:08:53 +00:00
Graham Nelson
d5a514812d Removed redundant config file 2019-02-09 11:11:50 +00:00
Graham Nelson
c9d78f866e Further where_am_i work from Toby 2019-02-08 08:53:23 +00:00
Graham Nelson
d57a1dc13f Initial commit 2019-02-04 22:26:45 +00:00